-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
128 lines (95 loc) · 2 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = [
"setuptools",
"wheel",
]
build-backend = 'setuptools.build_meta'
[project]
name = "gitcache"
version = "1.0.19"
authors = [{name = "Clemens Rabe", email = "clemens.rabe@clemensrabe.de"}]
description = "Local cache for git repositories to speed up working with large repositories and multiple clones."
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"portalocker",
"pytimeparse",
"coloredlogs",
]
[project.optional-dependencies]
dev = [
"ipython",
"black",
"flake8",
"flake8-black",
"flake8-bugbear",
"flake8-comprehensions",
"flake8-isort",
"flake8-pyproject",
"pep8-naming",
"isort",
"mypy",
"types-mock",
"pycodestyle",
"pylint",
"sphinx",
"sphinx_rtd_theme",
"sphinx-pyproject",
"pyinstaller",
]
test = [
"coverage[toml]",
"mock",
"pytest",
"pytest-cov",
"pytest-timeout"
]
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
src_paths = ["src", "test"]
[tool.flake8]
max-line-length = 120
extend-ignore = ['E203']
[tool.pylint.main]
py-version = "3.10"
[tool.pylint.format]
max-line-length = 120
[tool.pylint.similarities]
min-similarity-lines = 20
[tool.mypy]
show_error_codes = true
[[tool.mypy.overrides]]
module = [
"coloredlogs.*",
"pytimeparse.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
pythonpath = ["src"]
[tool.coverage.paths]
source = ["src"]
[tool.coverage.run]
source = [
"src/git_cache",
"test",
]
data_file = ".coverage"
branch = true
parallel = true
relative_files = true
disable_warnings = ["no-data-collected"]
[tool.coverage.report]
show_missing = true
precision = 2
fail_under = 20
[tool.coverage.html]
directory = "doc/unittests-coverage"
[tool.coverage.xml]
output = "doc/unittests-coverage/coverage.xml"
[tool.sphinx-pyproject]
copyright = "2023, Clemens Rabe <clemens.rabe@clemensrabe.de>"
release_url = "https://github.com/seeraven/gitcache/releases"