| |
@@ -0,0 +1,29 @@
|
| |
+ From c4b3826b0771772f8f190c74387636d311225cbf Mon Sep 17 00:00:00 2001
|
| |
+ From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
|
| |
+ Date: Tue, 23 Apr 2024 10:22:17 +0200
|
| |
+ Subject: [PATCH] Remove the usage of pytest_cmdline_preparse hook removed in
|
| |
+ pytest 8
|
| |
+
|
| |
+ ---
|
| |
+ conftest.py | 8 --------
|
| |
+ 1 file changed, 8 deletions(-)
|
| |
+
|
| |
+ diff --git a/conftest.py b/conftest.py
|
| |
+ index 56d32b1..9e5488b 100644
|
| |
+ --- a/conftest.py
|
| |
+ +++ b/conftest.py
|
| |
+ @@ -5,11 +5,3 @@ if False:
|
| |
+ import logging
|
| |
+ logging.basicConfig(level=logging.DEBUG)
|
| |
+
|
| |
+ -
|
| |
+ -def pytest_cmdline_preparse(args):
|
| |
+ - if sys.version_info[:2] == (3, 5):
|
| |
+ - # Disable pylint on Python 3.5, since it's broken:
|
| |
+ - # <https://bitbucket.org/logilab/astroid/issues/187/call-object-has-no-attribute-starargs>
|
| |
+ - args[:] = (
|
| |
+ - ["-p", "no:pylint"] +
|
| |
+ - [arg for arg in args if "pylint" not in arg])
|
| |
+ --
|
| |
+ 2.44.0
|
| |
+
|
| |