Add ruff linting

Configure ruff in pyproject.toml and apply its fixes: modern annotations
(X | None, builtin generics, collections.abc), sorted imports, explicit
stacklevel in test warnings.
This commit is contained in:
Fuxino
2026-10-16 13:47:24 +02:00
parent 7dbb1bcaee
commit 17c104c6c8
6 changed files with 65 additions and 57 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
"""Shared fixtures for the simple_backup tests"""
import sys
from typing import Callable
from collections.abc import Callable
import pytest