mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-15 08:44:46 +00:00
Start work on our StyleGuide implementation
This commit is contained in:
parent
4dc1cc386d
commit
91327c75e0
1 changed files with 24 additions and 0 deletions
|
|
@ -1 +1,25 @@
|
||||||
"""Implementation of the StyleGuide used by Flake8."""
|
"""Implementation of the StyleGuide used by Flake8."""
|
||||||
|
|
||||||
|
|
||||||
|
class StyleGuide(object):
|
||||||
|
"""Manage a Flake8 user's style guide."""
|
||||||
|
|
||||||
|
def __init__(self, options, arguments, checker_plugins, listening_plugins,
|
||||||
|
formatting_plugins):
|
||||||
|
"""Initialize our StyleGuide.
|
||||||
|
|
||||||
|
.. todo:: Add parameter documentation.
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
# Should separate style guide logic from code that runs checks
|
||||||
|
# StyleGuide should manage select/ignore logic as well as include/exclude
|
||||||
|
# logic. See also https://github.com/PyCQA/pep8/pull/433
|
||||||
|
|
||||||
|
# StyleGuide shoud dispatch check execution in a way that can use
|
||||||
|
# multiprocessing but also retry in serial. See also:
|
||||||
|
# https://gitlab.com/pycqa/flake8/issues/74
|
||||||
|
|
||||||
|
# StyleGuide should interface with Reporter and aggregate errors/notify
|
||||||
|
# listeners
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue