mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 10:31:09 -05:00
Refactor type checking configuration; consolidate settings from pyrightconfig.json into pyproject.toml for improved project structure and clarity.
This commit is contained in:
@@ -76,10 +76,33 @@ dev = [
|
||||
|
||||
[tool.pyright]
|
||||
stubPath = "stubs"
|
||||
typeCheckingMode = "basic"
|
||||
include = ["."]
|
||||
exclude = [
|
||||
"**/node_modules",
|
||||
"**/__pycache__",
|
||||
"**/migrations",
|
||||
"**/.venv",
|
||||
"**/venv",
|
||||
"**/.git",
|
||||
"**/.hg",
|
||||
"**/.tox",
|
||||
"**/.nox",
|
||||
]
|
||||
typeCheckingMode = "strict"
|
||||
reportIncompatibleMethodOverride = "error"
|
||||
reportIncompatibleVariableOverride = "error"
|
||||
reportGeneralTypeIssues = "error"
|
||||
reportReturnType = "error"
|
||||
reportMissingImports = "error"
|
||||
reportMissingTypeStubs = "warning"
|
||||
reportUndefinedVariable = "error"
|
||||
reportUnusedImport = "warning"
|
||||
reportUnusedVariable = "warning"
|
||||
pythonVersion = "3.13"
|
||||
|
||||
[tool.pylance]
|
||||
stubPath = "stubs"
|
||||
|
||||
|
||||
[tool.uv.sources]
|
||||
python-json-logger = { url = "https://github.com/nhairs/python-json-logger/releases/download/v3.0.0/python_json_logger-3.0.0-py3-none-any.whl" }
|
||||
|
||||
Reference in New Issue
Block a user