initial impl

This commit is contained in:
2026-07-19 12:21:26 +02:00
commit e9b895366d
64 changed files with 4113 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
from pathlib import Path
def test_python_files_are_at_most_250_lines() -> None:
root = Path(__file__).parents[1]
files = [*root.glob("src/**/*.py"), *root.glob("tests/**/*.py")]
oversized = {
str(path.relative_to(root)): len(path.read_text().splitlines())
for path in files
if len(path.read_text().splitlines()) > 250
}
assert oversized == {}