-
Notifications
You must be signed in to change notification settings - Fork 5
pytz lint #7
Copy link
Copy link
Open
Description
I'm interested in pytz linting, specifically preventing pytz timezone classes (BaseTzInfo) from being used directly as the tzinfo argument with datetime.datetime(tzinfo=) and with .replace(tzinfo=), since that is almost always an error.
Would you be open to a PR adding pytz added as a dependency and checks around those cases?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels