API Reference
In addition to the Flake8 plugin, the following public API is available
to allow other plugins to build on top of flake8-strftime.
Classes:
Plugin(tree)
|
A Flake8 plugin which checks for use of platform specific strftime codes. |
Visitor()
|
AST node visitor for identifying platform specific strftime codes. |
-
class
Plugin(tree)[source]
Bases: Plugin[Visitor]
A Flake8 plugin which checks for use of platform specific strftime codes.
- Parameters
tree (AST) – The abstract syntax tree (AST) to check.
-
class
Visitor[source]
Bases: Visitor
AST node visitor for identifying platform specific strftime codes.