forked from thesadru/genshin.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (40 loc) · 1.07 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
49
50
51
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.black]
exclude = ["__pycache__"]
line-length = 120
include = ".*pyi?$"
target-version = ["py39"]
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.pyright]
include = ["genshin"]
exclude = ["**/__init__.py", "tests/**"]
typeCheckingMode = "strict"
reportMissingTypeStubs = "none"
reportImportCycles = "none"
reportIncompatibleMethodOverride = "none" # This relies on ordering for keyword-only arguments
reportUnusedFunction = "none" # Makes usage of validators impossible
reportPrivateUsage = "none"
[tool.mypy]
warn_unreachable = false
disallow_untyped_defs = true
ignore_missing_imports = true
install_types = true
non_interactive = true
# pyright
warn_unused_ignores = false
warn_redundant_casts = false
allow_redefinition = true
disable_error_code = ["return-value"]
[tool.coverage.run]
source = ["genshin"]
omit = ["**/__init__.py", "**/__main__.py"]
[tool.coverage.report]
show_missing = true
skip_covered = false
sort = "cover"