MCPcopy Create free account
hub / github.com/PyCQA/flake8 / ExampleTwo

Class ExampleTwo

example-plugin/src/flake8_example_plugin/off_by_default.py:5–20  ·  view source on GitHub ↗

Second Example Plugin.

Source from the content-addressed store, hash-verified

3
4
5class ExampleTwo:
6 """Second Example Plugin."""
7
8 off_by_default = True
9
10 def __init__(self, tree):
11 self.tree = tree
12
13 def run(self):
14 """Do nothing."""
15 yield (
16 1,
17 0,
18 "X200 The off-by-default plugin was enabled",
19 "OffByDefaultPlugin",
20 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected