@@ -47,24 +47,29 @@ reportUnusedVariable = false
4747reportUnnecessaryIsInstance = true
4848reportUnnecessaryComparison = true
4949reportUnnecessaryCast = true
50- reportPrivateUsage = true
50+ reportPrivateUsage = false # Getters/setters reference private members from outside the class
5151reportImportCycles = true
5252reportDuplicateImport = true
5353reportConstantRedefinition = true
5454reportOverlappingOverload = true
5555reportInconsistentConstructor = true
5656reportImplicitStringConcatenation = true
57+
5758pythonVersion = " 3.12"
5859typeCheckingMode = " standard"
5960
6061[tool .ruff ]
61- # Keep in sync with .pre-commit-config.yaml
6262line-length = 120
63- lint.ignore = []
64- lint.select = [" E" , " W" , " F" , " I" , " T" , " RUF" , " TID" , " UP" ]
6563target-version = " py312"
64+ respect-gitignore = false
6665include =[" *.py" ]
6766
67+ [tool .ruff .lint ]
68+ select = [" E" , " W" , " F" , " I" , " T" , " RUF" , " TID" , " UP" ]
69+ ignore = [
70+ " F841" # Ignore unused variable warnings
71+ ]
72+
6873[tool .ruff .lint .flake8-bugbear ]
6974# These Rust extension module types are immutable (frozen)
7075extend-immutable-calls = [
@@ -91,4 +96,4 @@ minversion = "8.0"
9196pythonpath = [" temp/tests/Python" , " ." ]
9297testpaths = [
9398 " temp/tests/Python" ,
94- ]
99+ ]
0 commit comments