Module implementing a node visitor to check datetime function calls.
None |
DateTimeVisitor | Class implementing a node visitor to check datetime function calls. |
None |
Class implementing a node visitor to check datetime function calls.
Note: This class is modeled after flake8_datetimez v20.10.0 checker.
None |
None |
DateTimeVisitor | Constructor |
__getFromKeywords | Private method to get a keyword node given its name. |
visit_Call | Public method to handle a function call. |
None |
Constructor
Private method to get a keyword node given its name.
Public method to handle a function call.
Every datetime related function call is check for use of the naive variant (i.e. use without TZ info).