oh boy
This commit is contained in:
@@ -46,6 +46,9 @@ dev = [
|
||||
"mypy>=1.8",
|
||||
"ruff>=0.3",
|
||||
"basedpyright>=1.18",
|
||||
"pyrefly>=0.46.1",
|
||||
"sourcery; sys_platform == 'darwin'",
|
||||
"types-grpcio>=1.0.0.20251009",
|
||||
"testcontainers[postgres]>=4.0",
|
||||
]
|
||||
triggers = [
|
||||
@@ -210,12 +213,12 @@ disable_error_code = ["import-untyped"]
|
||||
|
||||
[tool.basedpyright]
|
||||
pythonVersion = "3.12"
|
||||
typeCheckingMode = "standard"
|
||||
typeCheckingMode = "strict"
|
||||
extraPaths = ["scripts"]
|
||||
reportMissingTypeStubs = false
|
||||
reportUnknownMemberType = false
|
||||
reportUnknownArgumentType = false
|
||||
reportUnknownVariableType = false
|
||||
reportUnknownMemberType = true
|
||||
reportUnknownArgumentType = true
|
||||
reportUnknownVariableType = true
|
||||
reportArgumentType = false # proto enums accept ints at runtime
|
||||
reportIncompatibleVariableOverride = false # SQLAlchemy __table_args__
|
||||
reportAttributeAccessIssue = false # SQLAlchemy mapped column assignments
|
||||
@@ -225,10 +228,17 @@ venvPath = "."
|
||||
venv = ".venv"
|
||||
|
||||
[tool.pyrefly]
|
||||
pythonVersion = "3.12"
|
||||
python-version = "3.12"
|
||||
python-interpreter-path = ".venv/bin/python"
|
||||
site-package-path = [".venv/lib/python3.12/site-packages"]
|
||||
exclude = ["**/proto/*_pb2*.py", "**/proto/*_pb2*.pyi", ".venv"]
|
||||
search-path = [".", "src", "tests"]
|
||||
project-excludes = ["**/proto/*_pb2*.py", "**/proto/*_pb2*.pyi"]
|
||||
ignore-missing-imports = []
|
||||
replace-imports-with-any = []
|
||||
ignore-errors-in-generated-code = false
|
||||
untyped-def-behavior = "check-and-infer-return-type"
|
||||
use-ignore-files = true
|
||||
permissive-ignores = false
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
@@ -254,5 +264,7 @@ dev = [
|
||||
"pytest-benchmark>=5.2.3",
|
||||
"pytest-httpx>=0.36.0",
|
||||
"ruff>=0.14.9",
|
||||
"sourcery; sys_platform == 'darwin'",
|
||||
"types-grpcio>=1.0.0.20251009",
|
||||
"watchfiles>=1.1.1",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user