Missing isort rules in setup.cfg configuration #1934
Labels
bug
Something isn't working
documentation
Docs related task
good first issue
Entrypoint to the project
help wanted
Extra attention is needed
level:starter
Good for newcomers
What's wrong
You have an README https://github.com/wemake-services/wemake-python-styleguide/blob/master/README.md .
The setup.cfg configuration link points to https://wemake-python-stylegui.de/en/latest/pages/usage/configuration.html .
Only the [flake8] section described here, no [isort] configuration.
So, if you launch isort from CLI with default rules, e.g. for multiline imports, you'll get WPS warnings.
As result, it's too hard to fix WPS isort issues.
How it should be
Add the [isort] section to setup docs according to
https://github.com/wemake-services/wemake-python-styleguide/blob/master/setup.cfg#L68-L76
[isort]
include_trailing_comma = true
use_parentheses = true
multi_line_output = 3
line_length = 80
Flake8 version and plugins
Latest
pip information
Latest
OS information
Win10x64
The text was updated successfully, but these errors were encountered: