forked from sagnik/Velocity-OS
33 lines
685 B
TOML
33 lines
685 B
TOML
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F"]
|
|
# The current core service contains legacy route modules with compact one-line
|
|
# statements and import-order patterns that predate this deployment workflow.
|
|
# Keep CI focused on runtime-breaking issues until those modules are refactored.
|
|
ignore = [
|
|
"E402",
|
|
"E501",
|
|
"E701",
|
|
"E702",
|
|
"F401",
|
|
"F811",
|
|
"F841",
|
|
]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
ignore_missing_imports = true
|
|
follow_imports = "skip"
|
|
check_untyped_defs = false
|
|
disallow_untyped_defs = false
|
|
disable_error_code = [
|
|
"arg-type",
|
|
"index",
|
|
"no-redef",
|
|
"union-attr",
|
|
"var-annotated",
|
|
]
|