-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (46 loc) · 909 Bytes
/
pyproject.toml
File metadata and controls
51 lines (46 loc) · 909 Bytes
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
# pyproject.toml
[build-system]
requires = ["setuptools", "wheel", "babel>2.8"]
build-backend = "setuptools.build_meta"
[tool.ruff]
exclude = ["docs"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401",
"C408",
"D203", "D211", "D212", "D213", "D401",
"E501",
"FA100", "FA102",
"FIX002",
"INP001",
"N999",
"PERF203",
"PIE804",
"PLC0415",
"PLR0913",
"RUF005",
"S101",
"TC001", "TC002", "TC006",
"TD002", "TD003",
"TID252", "TRY400",
"TRY002", "TRY003",
"UP009",
]
[tool.ruff.lint.per-file-ignores]
"tests/**.py" = [
"ANN001", "ANN201",
"ARG001",
]
[tool.mypy]
strict = true
python_version = "3.12"
follow_imports = "skip"
ignore_missing_imports = true
allow_subclassing_any = true
disable_error_code = ["type-arg", "misc", "untyped-decorator"]
[[tool.mypy.overrides]] # Overrides for currently untyped modules
module = [
"tests.*",
]
ignore_errors = true