forked from RimSort/RimSort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
40 lines (33 loc) · 820 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
#cSpell: ignore unimported, subclassing
[tool.mypy]
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
pretty = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
exclude = ['venv', '.venv', 'submodules']
[[tool.mypy.overrides]]
module = ['steam.*', 'steamfiles.*']
ignore_missing_imports = true
[tool.ruff]
# Defaults to Black like
line-length = 88
indent-width = 4
# Assume Python 3.12
target-version = "py312"
lint.extend-select = ["I"]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
pythonpath = '.'
testpaths = ['tests']
# exclude submodules from test discovery
[tool.pytest]
norecursedirs = ['submodules']
[tool.pyright]
pythonPlatform = "All"