-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (69 loc) · 1.27 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
[build-system]
requires = ["setuptools >= 43", "wheel", "setuptools_scm[toml] >= 3.4"]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
omit = [
"*/setup.py",
"*/__main__.py",
"*/test_*",
"*/build/*",
"*/dist/*",
"*/.tox/*",
"*/.egg/*",
]
[tool.coverage.report]
exclude_lines = [
"except ImportError:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"pragma: no cover",
]
[tool.mypy]
ignore_missing_imports = true
strict = true
show_error_codes = true
warn_unused_ignores = false
[tool.pylint.format]
max-line-length = 88
[tool.pylint.messages_control]
disable = [
"duplicate-code",
"fixme",
"import-error",
"missing-module-docstring",
"too-few-public-methods",
"too-many-arguments",
]
[tool.pylint.typecheck]
ignored-modules = ["pytest"]
[tool.pytest.ini_options]
log_level = "DEBUG"
[tool.ruff]
fix = true
target-version = "py39"
[tool.ruff.lint]
select = [
# flake8-comprehensions
"C4",
# pycodestyle
"E",
# Pyflakes
"F",
# Flynt
"FLY",
# isort
"I",
# Perflint
"PERF",
# Ruff-specific rules
"RUF",
# flake8-simplify
"SIM",
# flake8-type-checking
"TCH",
# pyupgrade
"UP",
# pycodestyle
"W",
]
[tool.setuptools_scm]