Closed TimJentzsch closed 1 year ago
Pytz is deprecated - we'll need to use zoneinfo instead. https://docs.python.org/3/library/zoneinfo.html
Pytz is deprecated - we'll need to use zoneinfo instead. https://docs.python.org/3/library/zoneinfo.html
Nice, didn't know this was a built-in thing!
I ended up using datetime.timezone.utc
which is a nice replacement.
I'll open up an issue to migrate for blossom and buttercup as well.
And I didn't know that datetime.timezone.utc
was a thing! 🎉
This PR ports over the linting setup from Blossom to ToR, to have a consistent setup across all our repositories.
ruff
linter and configuration