-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (46 loc) · 931 Bytes
/
Copy pathpyproject.toml
File metadata and controls
52 lines (46 loc) · 931 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
52
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py312"
line-length = 100
extend-exclude = [
"packaging",
]
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"I",
"D",
"UP",
"ANN",
"B",
"C4",
"SIM",
]
ignore = [
"D203",
"D213",
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["D", "ANN"]
"tools/**/*.py" = ["D", "ANN"]
"interface/**/*.py" = ["E402", "E501", "F401", "F403", "F405", "F821", "F541", "F841"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.12"
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-ra"