diff --git a/tests/pylint/runpylint.py b/tests/pylint/runpylint.py index 196222495..eef4047fa 100755 --- a/tests/pylint/runpylint.py +++ b/tests/pylint/runpylint.py @@ -18,17 +18,14 @@ def __init__(self): self.pylintrc_path = os.path.join(current_dir, "pylintrc") self.false_positives = [ - FalsePositive(r"Catching an exception which doesn't inherit from (BaseException|Exception): (BlockDev|DM|Crypto|Swap|LVM|Btrfs|MDRaid|Utils|G)Error$"), FalsePositive(r"Instance of 'int' has no .* member"), FalsePositive(r"Method 'do_task' is abstract in class 'Task' but is not overridden"), FalsePositive(r"Method 'do_task' is abstract in class 'UnimplementedTask' but is not overridden"), FalsePositive(r"No value for argument 'member_count' in unbound method call$"), FalsePositive(r"No value for argument 'smallest_member_size' in unbound method call$"), - FalsePositive(r"Parameters differ from overridden 'do_task' method$"), FalsePositive(r"Bad option value '(subprocess-popen-preexec-fn|try-except-raise|environment-modify|arguments-renamed|redundant-u-string-prefix)'"), FalsePositive(r"Instance of '(Action.*Device|Action.*Format|Action.*Member|Device|DeviceAction|DeviceFormat|Event|ObjectID|PartitionDevice|StorageDevice|BTRFS.*Device|LoopDevice)' has no 'id' member$"), FalsePositive(r"Instance of 'GError' has no 'message' member"), # overriding currently broken local pylint disable - FalsePositive(r"Module '(gi.repository.Gio|gi.repository.GLib)' has no .* member"), # pylint/astroid has issues with GI modules https://github.com/PyCQA/pylint/issues/6352 FalsePositive(r"No name '.*' in module 'libmount'") ]