corrlib/corrlib/integrity.py
Justus Kuhlmann cc14e68b44
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
add tests for time filter and find project, add a first check for integrity of the database
2026-03-26 17:19:58 +01:00

5 lines
148 B
Python

import datetime as dt
def check_time_validity(created_at: dt.datetime, updated_at: dt.datetime) -> bool:
return not (created_at > updated_at)