Open sobolevn opened 5 years ago
It is a good practice to use help attribute for options. This way all options will be documented when running flake8 --help. It is also a good practice to use a default value in the description.
help
flake8 --help
That's how I do it: https://github.com/wemake-services/wemake-python-styleguide/blob/master/wemake_python_styleguide/options/config.py#L15-L29
This is still legit.
It is a good practice to use
help
attribute for options. This way all options will be documented when runningflake8 --help
. It is also a good practice to use a default value in the description.That's how I do it: https://github.com/wemake-services/wemake-python-styleguide/blob/master/wemake_python_styleguide/options/config.py#L15-L29