From 76ee744390aac945f7c40e9c58424e67534b8523 Mon Sep 17 00:00:00 2001 From: Cooper Lees Date: Wed, 29 Jan 2020 14:02:48 +1100 Subject: [PATCH] State an ignore might be needed for optional B9x checks (#115) --- README.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.rst b/README.rst index 5001f44..fc10ebc 100644 --- a/README.rst +++ b/README.rst @@ -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+