mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +00:00
73841c408f
Adding tool.pyright to make pyright fairly strict. We can change these easily by setting them to false.
39 lines
641 B
TOML
39 lines
641 B
TOML
[tool.black]
|
|
line-length = 79
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
/(
|
|
\.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
|
|
[tool.pyright]
|
|
include = ["src",
|
|
"app"
|
|
]
|
|
exclude = ["**/node_modules",
|
|
"**/__pycache__",
|
|
"src/experimental"
|
|
]
|
|
ignore = ["src/oldstuff"]
|
|
defineConstant = { DEBUG = true }
|
|
include = ["."]
|
|
typeCheckingMode = "strict"
|
|
|
|
# strict disabled checks
|
|
reportUnknownParameterType = false
|
|
reportMissingParameterType = false
|
|
reportUnknownMemberType = false
|
|
reportUnknownArgumentType = false
|
|
reportMissingTypeStubs = false
|
|
|
|
pythonVersion = "3.11"
|
|
pythonPlatform = "all"
|