diff options
| -rw-r--r-- | libmat2/archive.py | 6 | ||||
| -rw-r--r-- | libmat2/web.py | 1 | ||||
| -rw-r--r-- | nautilus/mat2.py | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/libmat2/archive.py b/libmat2/archive.py index 17ec608..5f058b9 100644 --- a/libmat2/archive.py +++ b/libmat2/archive.py | |||
| @@ -72,20 +72,20 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser): | |||
| 72 | def _specific_cleanup(self, full_path: str) -> bool: | 72 | def _specific_cleanup(self, full_path: str) -> bool: |
| 73 | """ This method can be used to apply specific treatment | 73 | """ This method can be used to apply specific treatment |
| 74 | to files present in the archive.""" | 74 | to files present in the archive.""" |
| 75 | # pylint: disable=unused-argument,no-self-use | 75 | # pylint: disable=unused-argument |
| 76 | return True # pragma: no cover | 76 | return True # pragma: no cover |
| 77 | 77 | ||
| 78 | def _specific_get_meta(self, full_path: str, file_path: str) -> dict[str, Any]: | 78 | def _specific_get_meta(self, full_path: str, file_path: str) -> dict[str, Any]: |
| 79 | """ This method can be used to extract specific metadata | 79 | """ This method can be used to extract specific metadata |
| 80 | from files present in the archive.""" | 80 | from files present in the archive.""" |
| 81 | # pylint: disable=unused-argument,no-self-use | 81 | # pylint: disable=unused-argument |
| 82 | return {} # pragma: no cover | 82 | return {} # pragma: no cover |
| 83 | 83 | ||
| 84 | def _final_checks(self) -> bool: | 84 | def _final_checks(self) -> bool: |
| 85 | """ This method is invoked after the file has been cleaned, | 85 | """ This method is invoked after the file has been cleaned, |
| 86 | allowing to run final verifications. | 86 | allowing to run final verifications. |
| 87 | """ | 87 | """ |
| 88 | # pylint: disable=unused-argument,no-self-use | 88 | # pylint: disable=unused-argument |
| 89 | return True | 89 | return True |
| 90 | 90 | ||
| 91 | @staticmethod | 91 | @staticmethod |
diff --git a/libmat2/web.py b/libmat2/web.py index d324996..574bdd7 100644 --- a/libmat2/web.py +++ b/libmat2/web.py | |||
| @@ -103,7 +103,6 @@ class _HTMLParser(parser.HTMLParser): | |||
| 103 | self.tag_required_blocklist = required_blocklisted_tags | 103 | self.tag_required_blocklist = required_blocklisted_tags |
| 104 | self.tag_blocklist = blocklisted_tags | 104 | self.tag_blocklist = blocklisted_tags |
| 105 | 105 | ||
| 106 | # pylint: disable=R0201 | ||
| 107 | def error(self, message): # pragma: no cover | 106 | def error(self, message): # pragma: no cover |
| 108 | """ Amusingly, Python's documentation doesn't mention that this | 107 | """ Amusingly, Python's documentation doesn't mention that this |
| 109 | function needs to be implemented in subclasses of the parent class | 108 | function needs to be implemented in subclasses of the parent class |
diff --git a/nautilus/mat2.py b/nautilus/mat2.py index 11e6986..7e94cac 100644 --- a/nautilus/mat2.py +++ b/nautilus/mat2.py | |||
| @@ -10,7 +10,7 @@ so we're not allowed to call anything Gtk-related outside of the main | |||
| 10 | thread, so we'll have to resort to using a `queue` to pass "messages" around. | 10 | thread, so we'll have to resort to using a `queue` to pass "messages" around. |
| 11 | """ | 11 | """ |
| 12 | 12 | ||
| 13 | # pylint: disable=no-name-in-module,unused-argument,no-self-use,import-error | 13 | # pylint: disable=no-name-in-module,unused-argument,import-error |
| 14 | 14 | ||
| 15 | import queue | 15 | import queue |
| 16 | import threading | 16 | import threading |
