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

@@ -1,11 +0,0 @@
from collections import defaultdict
from collections.abc import Callable
from typing import Any
def def_value() -> defaultdict:
return defaultdict(def_value)
# allows defining nested dictionary in a single line
nested_dict: Callable[[], dict[str, Any]] = lambda: defaultdict(def_value)