diff options
author | Devesh Kumar Singh <deveshkusingh@gmail.com> | 2020-06-05 02:40:49 +0530 |
---|---|---|
committer | Devesh Kumar Singh <deveshkusingh@gmail.com> | 2020-06-05 02:40:49 +0530 |
commit | 6716a2bec56d661b944e7cc68d3db32a71d7249a (patch) | |
tree | deed59767c8e85b337279a03813d260dd177776b /setup.cfg | |
parent | 9a52dcd62b3a4dd22d9108b178b35aee20bfcd56 (diff) | |
download | pip-6716a2bec56d661b944e7cc68d3db32a71d7249a.tar.gz |
Add flake8-bugbear rules to setup.cfg
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -23,9 +23,17 @@ exclude = .scratch, _vendor, data -select = E,W,F -ignore = W504 - + # TODO: Remove when fixing flake8 warnings + src/pip/* +# B = bugbear +# E = pycodestyle errors +# F = flake8 pyflakes +# W = pycodestyle warnings +# B9 = bugbear opinions +select = B, E, W, F, B9 +per-file-ignores = + # B011: Do not call assert False since python -O removes these calls + tests/*: B011 [mypy] follow_imports = silent ignore_missing_imports = True |