-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update flake8 to 3.7.6 #6282
Update flake8 to 3.7.6 #6282
Changes from all commits
75c4f4a
13bb70f
630961c
f77b8ca
7977443
c4dfdbe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ exclude = | |
_vendor, | ||
data | ||
select = E,W,F | ||
ignore = W504 | ||
|
||
[mypy] | ||
follow_imports = silent | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,7 @@ | |
from pip._internal.utils.typing import MYPY_CHECK_RUNNING | ||
|
||
if MYPY_CHECK_RUNNING: | ||
from typing import ( # noqa: F401 | ||
List, Union | ||
) | ||
from typing import List | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd be fine with keeping Union here in this commit, and removing it the next commit. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a few places other places too which remove not-used imports, it'd be nice if all of those changes could be moved into a separate commit. |
||
|
||
|
||
def user_cache_dir(appname): | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this into a separate commit from removing #noqa?