-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
194 lines (178 loc) · 3.79 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
[build-system]
requires = ["setuptools>40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "quarkboard"
version = "0.0.1"
description = "An issue tracker that just works. Kinda like physics."
readme = "README.md"
requires-python = ">=3.11, <4"
license = {file = "LICENSE"}
authors = [
{name = "Jason C. McDonald", email = "[email protected]"}
]
maintainers = []
keywords = ["utility", "development", "issue tracker", "agile", "scrum", "quantified tasks"]
dependencies = [
"appdirs >=1.4.4, <1.5",
"click >=8.1.7, <8.2",
"rich >=13.5.2, <13.6",
"SQLAlchemy >=2.0.20, <2.1"
]
[project.optional-dependencies]
dev = [
"black",
"branch-detective",
"coverage",
"commitizen",
"mypy",
"ruff",
"tox",
"ward"
]
docs = ["sphinx"]
[project.urls]
homepage = "https://quantifiedtasks.org"
repository = "https://gitlab.com/quantifiedtasks/quarkboard-cli"
[project.scripts]
quarkboard = "quarkboard.__main__:cli"
[tool.black]
line-length = 88
target-versions = ["py311"]
[tool.coverage.run]
branch = true
command_line = "-m ward"
source = [
"quarkboard",
]
omit = [
"__main__.py"
]
[tool.coverage.paths]
source = [
"src/quarkboard",
"**/site-packages/quarkboard"
]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.0.1"
tag_format = "v$version"
update_changelog_on_bump = true
version_files = [
"pyproject.toml:version",
"setup.cfg:^version",
]
[tool.mypy]
python_version = "3.11"
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = false
implicit_optional = false
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_unreachable = true
allow_untyped_globals = false
allow_redefinition = false
local_partial_types = false
implicit_reexport = true
strict_equality = true
show_error_context = true
show_column_numbers = true
pretty = true
color_output = true
error_summary = true
show_absolute_path = true
[[tool.mypy.overrides]]
module = [
"click"
]
ignore_missing_imports = true
[tool.ruff]
select = [ # see https://beta.ruff.rs/docs/rules/
"A", # flake8-builtins
"ASYNC", # flake8-async
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"C90", # mccabe complexity
"COM", # flake8-commas
"CPY", # flake8-copyright
"D", # pydocstyle
"DTZ", # flake8-datetimez
"E", # pycodestyle errors
"EM", # flake8-errmsg
"ERA", # eradicate
"F", # pyflakes
"FBT", # flake8-boolean-trap
"FLY", # flynt
"I", # isort
"INP", # flake8-no-pep420
"PERF", # perflint
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PTH", # flake8-use-pathlib
"Q", # flake8-quotes
"RSE", # flake8-raise
"RET", # flake8-return
"RUF", # ruff-specific rules
"S", # bandit
"SIM", # flake8-simplify
"SLOT", # flake8-slots
"T10", # flake8-debugger
"T20", # flake8-print
"TCH", # flake8-type-checking
"TD", # flake8-todos
"TID", # flake8-tidy-imports
"TRY", # tryceratops
"W" # pycodestyle warnings
]
ignore = [
"D401",
"S311",
]
fixable = ["ALL"]
unfixable = []
line-length = 120
target-version = "py311"
extend-exclude = [
".gitvenv",
".ruff_cache",
".idea",
".tox",
".venv",
"build",
"dist",
"docs",
"tests",
"venv"
]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.tox]
legacy_tox_ini = """
[tox]
min_version = 4.0
env_list =
py311
lint
[testenv:lint]
deps = .[dev]
commands =
black --check .
ruff .
mypy src
[testenv:test]
deps = .[dev]
commands =
coverage run
"""
[tool.ward]
path = ["tests"]
capture-output = false
order = "random"
fail-limit = 20
progress-style = ["bar"]