feat(types): Complete strict static analysis and typing track
This commit is contained in:
@@ -37,4 +37,28 @@ disallow_incomplete_defs = true
|
||||
ignore_missing_imports = true
|
||||
explicit_package_bases = true
|
||||
|
||||
[tool.ruff]
|
||||
# Target version
|
||||
target-version = "py311"
|
||||
exclude = [
|
||||
"scripts/ai_style_formatter.py",
|
||||
"scripts/temp_def.py",
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
|
||||
# Enable standard rules
|
||||
select = ["E", "F", "W"]
|
||||
# Ignore style choices that conflict with project's compact style
|
||||
ignore = [
|
||||
"E701", # Multiple statements on one line (colon)
|
||||
"E702", # Multiple statements on one line (semicolon)
|
||||
"E402", # Module level import not at top of file
|
||||
"E722", # Do not use bare `except`
|
||||
"E501", # Line too long
|
||||
"W291", # Trailing whitespace
|
||||
"W293", # Blank line contains whitespace
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user