flake8/example-plugin/src/flake8_example_plugin/off_by_default.py
2021-04-18 09:23:48 -07:00

22 lines
428 B
Python

"""Our first example plugin."""
class ExampleTwo:
"""Second Example Plugin."""
name = "off-by-default-example-plugin"
version = "1.0.0"
off_by_default = True
def __init__(self, tree):
self.tree = tree
def run(self):
"""Do nothing."""
yield (
1,
0,
"X200 The off-by-default plugin was enabled",
"OffByDefaultPlugin",
)