summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-09-07 17:50:38 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-09-13 07:06:34 -0400
commitc784c559fa37407dfec6abc7734cb61bd5e7cc7f (patch)
treed3ea1d6c9c6cb51b6ca4c257cc19180041b10f45 /coverage/parser.py
parent186817f345cfc0aa6953a171ec2cf25b7fbb90dd (diff)
downloadpython-coveragepy-git-c784c559fa37407dfec6abc7734cb61bd5e7cc7f.tar.gz
style: adapt to latest pylint concerns
Before these changes, these violations happened: ``` lint run-test: commands[6] | python -m pylint --notes= coverage tests doc ci igor.py setup.py __main__.py ************* Module coverage.parser coverage/parser.py:1290 I: Useless suppression of 'too-many-function-args' (useless-suppression) ************* Module ci.download_gha_artifacts ci/download_gha_artifacts.py:18 W: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) ci/download_gha_artifacts.py:54 W: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) ************* Module ci.trigger_build_kits ci/trigger_build_kits.py:21 W: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout) ************* Module ci.github_releases ci/github_releases.py:138 E: Too many positional arguments for function call (too-many-function-args) ci/github_releases.py:138 I: Useless suppression of 'no-value-for-parameter' (useless-suppression) ************* Module ci.comment_on_fixes ci/comment_on_fixes.py:30 W: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) ci/comment_on_fixes.py:37 W: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) ci/comment_on_fixes.py:49 W: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout) ************* Module ci.parse_relnotes ci/parse_relnotes.py:126 E: Too many positional arguments for function call (too-many-function-args) ci/parse_relnotes.py:126 I: Useless suppression of 'no-value-for-parameter' (useless-suppression) ```
Diffstat (limited to 'coverage/parser.py')
-rw-r--r--coverage/parser.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index 7ef67d2c..3dbfbf30 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -1287,7 +1287,6 @@ class AstArcAnalyzer:
self.add_arc(start, -start, None, f"didn't finish the {noun} on line {start}")
return _code_object__expression_callable
- # pylint: disable=too-many-function-args
_code_object__Lambda = _make_expression_code_method("lambda")
_code_object__GeneratorExp = _make_expression_code_method("generator expression")
_code_object__DictComp = _make_expression_code_method("dictionary comprehension")