diff options
author | Ran Benita <ran@unusedvar.com> | 2020-04-24 21:51:32 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-05-12 09:29:40 +0300 |
commit | d1534181c0bd165f354179d1ac131d874b71a81b (patch) | |
tree | 0a46a695feba1b0eb7bf8ee61fab8cf8ae49f3ee /extra | |
parent | 15d5e8cd97c621cf558d154a5760519468770199 (diff) | |
download | pytest-d1534181c0bd165f354179d1ac131d874b71a81b.tar.gz |
pre-commit: upgrade flake8 3.7.7 -> 3.8.1
New errors:
testing/test_setupplan.py:104:15: E741 ambiguous variable name 'l'
testing/test_setupplan.py:107:15: E741 ambiguous variable name 'l'
extra/get_issues.py:48:29: E741 ambiguous variable name 'l'
testing/test_error_diffs.py:270:32: E741 ambiguous variable name 'l'
Not so sure about it but easier to just fix.
But more importantly, is a large amount of typing-related issues there
were fixed which necessitated noqa's which can now be removed.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/get_issues.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/get_issues.py b/extra/get_issues.py index 9407aeded..c264b2644 100644 --- a/extra/get_issues.py +++ b/extra/get_issues.py @@ -45,7 +45,7 @@ def main(args): def _get_kind(issue): - labels = [l["name"] for l in issue["labels"]] + labels = [label["name"] for label in issue["labels"]] for key in ("bug", "enhancement", "proposal"): if key in labels: return key |