add tests for time filter and find project, add a first check for integrity of the database
Some checks failed
Mypy / mypy (push) Successful in 1m15s
Pytest / pytest (3.12) (push) Successful in 1m20s
Pytest / pytest (3.13) (push) Successful in 1m16s
Pytest / pytest (3.14) (push) Successful in 1m25s
Ruff / ruff (push) Has been cancelled

This commit is contained in:
Justus Kuhlmann 2026-03-26 17:19:58 +01:00
commit cc14e68b44
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6
3 changed files with 125 additions and 0 deletions

5
corrlib/integrity.py Normal file
View file

@ -0,0 +1,5 @@
import datetime as dt
def check_time_validity(created_at: dt.datetime, updated_at: dt.datetime) -> bool:
return not (created_at > updated_at)