mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
15 lines
311 B
Python
15 lines
311 B
Python
"""Our first example plugin."""
|
|
|
|
|
|
class ExampleOne(object):
|
|
"""First Example Plugin."""
|
|
name = 'on-by-default-example-plugin'
|
|
version = '1.0.0'
|
|
|
|
def __init__(self, tree):
|
|
self.tree = tree
|
|
|
|
def run(self):
|
|
"""Do nothing."""
|
|
for message in []:
|
|
yield message
|