Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Use UTC timezone with datetime
Running `flake8-datetimez` via Ruff yielded the following findings: example/test_examples.py:88:25: DTZ005 `datetime.datetime.now()` called without a `tz` argument example/test_examples.py:89:25: DTZ007 Naive datetime constructed using `datetime.datetime.strptime()` without %z example/test_examples.py:125:13: DTZ005 `datetime.datetime.now()` called without a `tz` argument example/test_examples.py:126:25: DTZ007 Naive datetime constructed using `datetime.datetime.strptime()` without %z Found 4 errors. Specifying timezone info resolves the issues.
- Loading branch information