-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
43 lines (36 loc) · 1012 Bytes
/
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
[tool.black]
line-length = 99
target-version = ['py311', 'py312']
[tool.isort] # black config
profile = "black"
line_length = 99
[tool.ruff]
line-length = 99
target-version = "py311"
show-fixes = true
[tool.ruff.lint]
preview = true
explicit-preview-rules = true
select = ["E", "F", "I", "PL", "UP", "RUF", "PTH", "C4", "B", "PIE", "SIM", "RET", "RSE",
"G", "ISC", "PT", "ASYNC", "TCH", "SLOT", "PERF", "PYI", "FLY", "AIR", "RUF022",
"RUF023", "Q", "INP", "W", "YTT", "DTZ", "ARG"]
[tool.mypy]
plugins = [
"pydantic.mypy"
]
python_version = "3.11"
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
show_error_codes = true
no_implicit_reexport = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.pylint."messages control"]
enable = ["useless-suppression"]
disable = ["too-few-public-methods"]