treefmt/ruff: Set python lint version to 3.13. Fix all new lints coming up.

This commit is contained in:
Qubasa
2025-06-30 15:28:15 +07:00
committed by Jörg Thalheim
parent 69b9187598
commit 0d1e1d9796
10 changed files with 21 additions and 27 deletions

View File

@@ -49,9 +49,12 @@ filterwarnings = "default::ResourceWarning"
python_files = ["test_*.py", "*_test.py"]
[tool.mypy]
python_version = "3.12"
python_version = "3.13"
warn_redundant_casts = true
disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
exclude = "clan_lib.nixpkgs"
[tool.ruff]
target-version = "py313"