-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
48 lines (40 loc) · 1.01 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
[tool.mypy]
# Ensure we know what we do
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
# Imports management
ignore_missing_imports = true
follow_imports = "skip"
# Ensure full coverage
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
# Restrict dynamic typing (a little)
# e.g. `x: List[Any]` or x: List`
# disallow_any_generics = true
strict_equality = true
[tool.pymarkdown]
plugins.md013.enabled = false
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py313"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
[tool.ruff.lint]
extend-select = ["ALL"]
ignore = [
"ANN401", # typing.Any disallowed in `*args`
"COM812", # conflict
"D", # docstrings
"ERA001", # commented code
"INP001", # xxx is part of an implicit namespace package
"ISC001", # conflict
"T201", # print()
]
fixable = ["ALL"]