Skip to content

Commit

Permalink
State an ignore might be needed for optional B9x checks (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlees committed Jan 29, 2020
1 parent 9e5c19d commit 76ee744
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.rst
Expand Up @@ -202,11 +202,14 @@ have to explicitly specify all checks you want enabled. For example::
max-line-length = 80
max-complexity = 12
...
ignore = E501
select = C,E,F,W,B,B901

Note that we're enabling the complexity checks, the PEP8 ``pycodestyle``
errors and warnings, the pyflakes fatals and all default Bugbear checks.
Finally, we're also specifying B901 as a check that we want enabled.
Some checks might need other flake8 checks disabled - e.g. E501 must be
disabled for B950 to be hit.

If you'd like all optional warnings to be enabled for you (future proof
your config!), say ``B9`` instead of ``B901``. You will need Flake8 3.2+
Expand Down

0 comments on commit 76ee744

Please sign in to comment.