diff --git a/libmat2/web.py b/libmat2/web.py
index f11d379dc65940a006213a9c5f8aaa313f2377a3..2f331d89b0e8c9b06427028ad416e9d6419b1591 100644
--- a/libmat2/web.py
+++ b/libmat2/web.py
@@ -104,6 +104,7 @@ class _HTMLParser(parser.HTMLParser):
         self.tag_required_blocklist = required_blocklisted_tags
         self.tag_blocklist = blocklisted_tags
 
+    # pylint: disable=R0201
     def error(self, message):  # pragma: no cover
         """ Amusingly, Python's documentation doesn't mention that this
         function needs to be implemented in subclasses of the parent class
diff --git a/tests/test_climat2.py b/tests/test_climat2.py
index c529d729a7a3625d64140835625b54c36f3ec46b..923825369c7350714ef1778bc73eba319626e6a6 100644
--- a/tests/test_climat2.py
+++ b/tests/test_climat2.py
@@ -1,4 +1,3 @@
-import sys
 import random
 import os
 import shutil