PyCQA / flake8

flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
https://flake8.pycqa.org
Other
3.39k stars 306 forks source link

Export current configuration #1900

Closed tony-p closed 9 months ago

tony-p commented 9 months ago

describe the request

A command line option that exports the current configuration (selected/deselected checks etc).

Currently (as far as I can tell) there is no way to know what checks are being executed.

Have seen in other comments that configuration is already very complex to maintain, being able to generate that base configuration should at least help create a stepping stone to create a good configuration for a project.

asottile commented 9 months ago

--verbose is the intended mechanism for this. the configuration is generally not round trippable at the moment