diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-05-10 14:46:39 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-05-10 14:46:39 +0200 |
commit | b6c16f11f25a50873db0a5efb26b4974c150a75b (patch) | |
tree | 837bc88d5295754d59107be5f27a3c04b40a9952 | |
parent | a4faea260c9a13c6da34c5a3da66b0d99ebc1125 (diff) | |
download | qutebrowser-b6c16f11f25a50873db0a5efb26b4974c150a75b.tar.gz qutebrowser-b6c16f11f25a50873db0a5efb26b4974c150a75b.zip |
Update pylint ignores
See https://github.com/PyCQA/astroid/pull/1550 for the signal
disconnect.
Not reporting the gen_classes() one, as we have another ignore for that,
and doing something a bit unorthodox there anyways.
-rw-r--r-- | qutebrowser/misc/throttle.py | 1 | ||||
-rw-r--r-- | tests/unit/config/test_configtypes.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qutebrowser/misc/throttle.py b/qutebrowser/misc/throttle.py index ac565b68d..16a14d4bd 100644 --- a/qutebrowser/misc/throttle.py +++ b/qutebrowser/misc/throttle.py @@ -85,6 +85,7 @@ class Throttle(QObject): (cur_time_ms - self._last_call_ms)) # Disconnect any existing calls, continue if no connections. try: + # pylint: disable=no-value-for-parameter self._timer.timeout.disconnect() except TypeError: pass diff --git a/tests/unit/config/test_configtypes.py b/tests/unit/config/test_configtypes.py index c34efce54..e4351d619 100644 --- a/tests/unit/config/test_configtypes.py +++ b/tests/unit/config/test_configtypes.py @@ -223,6 +223,7 @@ class TestAll: """Patch aliases so Command works.""" config_stub.val.aliases = {} + # pylint: disable-next=too-many-function-args @pytest.fixture(params=list(gen_classes())) def klass(self, request): return request.param |