mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 07:44:16 +00:00
Wrap up design goals
This commit is contained in:
parent
eb29f11738
commit
00dfe8698b
1 changed files with 25 additions and 12 deletions
37
DESIGN.rst
37
DESIGN.rst
|
|
@ -17,6 +17,8 @@ Outline
|
||||||
|
|
||||||
#. :ref:`plugin-default-ignore`
|
#. :ref:`plugin-default-ignore`
|
||||||
|
|
||||||
|
#. :ref:`report-generation`
|
||||||
|
|
||||||
#. :ref:`options`
|
#. :ref:`options`
|
||||||
|
|
||||||
#. :ref:`better-select-ignore`
|
#. :ref:`better-select-ignore`
|
||||||
|
|
@ -25,10 +27,6 @@ Outline
|
||||||
|
|
||||||
#. :ref:`multiprocessing`
|
#. :ref:`multiprocessing`
|
||||||
|
|
||||||
#. :ref:`formatting`
|
|
||||||
|
|
||||||
#. :ref:`report-generation`
|
|
||||||
|
|
||||||
.. _plugins:
|
.. _plugins:
|
||||||
|
|
||||||
Better Plugins Support
|
Better Plugins Support
|
||||||
|
|
@ -87,6 +85,14 @@ necessary.
|
||||||
|
|
||||||
See https://gitlab.com/pycqa/flake8/issues/66
|
See https://gitlab.com/pycqa/flake8/issues/66
|
||||||
|
|
||||||
|
.. _report-generation:
|
||||||
|
|
||||||
|
Support for Report Generation
|
||||||
|
+++++++++++++++++++++++++++++
|
||||||
|
|
||||||
|
Flake8 should support pluggable report formats. See also pluggable report
|
||||||
|
formats for https://github.com/openstack/bandit
|
||||||
|
|
||||||
.. _options-passing:
|
.. _options-passing:
|
||||||
|
|
||||||
Support for Plugins Require Parsed Options
|
Support for Plugins Require Parsed Options
|
||||||
|
|
@ -139,18 +145,25 @@ See https://github.com/PyCQA/pep8/issues/390
|
||||||
Better stdin support
|
Better stdin support
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
Currently, flake8 accepts input from standard-in to check. It also currently
|
||||||
|
monkey-patches pep8 to cache that value. It would be better if there was one
|
||||||
|
way to retrieve the stdin input for plugins. Flake8 should provide this
|
||||||
|
directly instead of pep8 providing it.
|
||||||
|
|
||||||
|
See
|
||||||
|
https://gitlab.com/pycqa/flake8/commit/41393c9b6de513ea169b61c175b71018e8a12336
|
||||||
|
|
||||||
.. _multiprocessing:
|
.. _multiprocessing:
|
||||||
|
|
||||||
Multiprocessing Support
|
Multiprocessing Support
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
.. _formatting:
|
Flake8's existing multiprocessing support (and handling for different error
|
||||||
|
cases needs to persist through this redesign).
|
||||||
|
|
||||||
Better (Flake8-centralized) Formatting Support
|
See:
|
||||||
----------------------------------------------
|
|
||||||
|
|
||||||
.. _report-generation:
|
- https://gitlab.com/pycqa/flake8/issues/8
|
||||||
|
- https://gitlab.com/pycqa/flake8/issues/17
|
||||||
|
- https://gitlab.com/pycqa/flake8/issues/44
|
||||||
Better (Flake8-centralized) Report Generation Support
|
- https://gitlab.com/pycqa/flake8/issues/74
|
||||||
-----------------------------------------------------
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue