mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Add B014 ignore
This commit is contained in:
parent
7bf78f05df
commit
0dbd3938af
1 changed files with 7 additions and 2 deletions
|
@ -26,8 +26,13 @@ exclude =
|
|||
per-file-ignores =
|
||||
# B011: Do not call assert False since python -O removes these calls
|
||||
tests/*: B011
|
||||
# TODO: Remove this when fixing flake8-bugbear warnings in source
|
||||
src/pip/*: B007,B008,B009,B014,B305
|
||||
# TODO: Remove IOError from except (OSError, IOError) blocks in
|
||||
# these files when Python 2 is removed.
|
||||
# In Python 3, IOError have been merged into OSError
|
||||
# https://github.com/PyCQA/flake8-bugbear/issues/110
|
||||
src/pip/_internal/utils/filesystem.py: B014
|
||||
src/pip/_internal/network/cache.py: B014
|
||||
src/pip/_internal/utils/misc.py: B014
|
||||
[mypy]
|
||||
follow_imports = silent
|
||||
ignore_missing_imports = True
|
||||
|
|
Loading…
Reference in a new issue