File: disable-unused-argument-pylint-check.patch

package info (click to toggle)
pytest-pylint 0.21.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: python: 638; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: =?utf-8?b?T25kxZllaiBLb2JsacW+ZWs=?= <kobla@debian.org>
Date: Tue, 18 Feb 2020 09:12:40 +0100
Subject: Disable unused-argument pylint check

---
 pytest_pylint/plugin.py | 1 +
 1 file changed, 1 insertion(+)

--- a/pytest_pylint/plugin.py
+++ b/pytest_pylint/plugin.py
@@ -382,6 +382,7 @@
         # Update the cache if the item passed pylint.
         self.plugin.mtimes[self.parent.rel_path] = self.parent.mtime
 
+    # pylint: disable=unused-argument
     def repr_failure(self, excinfo, style=None):
         """Handle any test failures by checking that they were ours."""
         # pylint: disable=arguments-differ