pydocstyle
pydocstyle copied to clipboard
Feature request: Command line option to pipe default configuration to stdout
Could we add a command line option to output the default configuration similar to how pylint
does (to get a config file containing the default config with e.g. pylint --generate-rcfile > .pylintrc
)?
pylint -h
--generate-rcfile Generate a sample configuration file according to the
current configuration. You can put other options
before this one to get them in the generated
configuration.
Sounds like a great idea! PRs welcome.
One interesting pylint commit for reference is --generate-rcfile generates by default human readable symbols for the…
WIthout recalling exactly which files pydocstyle checks for config, can I suggest merely printing out the config section given the number of config options supported by pydocstyle is probably less than a fifth of what pylint supports