]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
update pylint
authorBob Halley <halley@dnspython.org>
Sat, 7 Oct 2023 18:35:56 +0000 (11:35 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 7 Oct 2023 18:35:56 +0000 (11:35 -0700)
dns/rdtypes/svcbbase.py
dns/rdtypes/txtbase.py
pylintrc
pyproject.toml

index 7544d58f91b319d47ea08761f6a7271b9af3a935..db9b0e21ea55ee7a86f5a735bd16da7324f5e070 100644 (file)
@@ -2,7 +2,6 @@
 
 import base64
 import enum
-import io
 import struct
 
 import dns.enum
index 690a1997a870c68a8205c81581410bf508208d67..cdfcc31c79a2bf078bad34052521a25d78f625cc 100644 (file)
@@ -17,7 +17,6 @@
 
 """TXT-like base class."""
 
-import struct
 from typing import Any, Dict, Iterable, Optional, Tuple, Union
 
 import dns.exception
index 306429ea8e5a66d55cb0611c02770e27d224a2c4..28e105a45c83d116fba6b50a2e0c0576be017cbc 100644 (file)
--- a/pylintrc
+++ b/pylintrc
@@ -33,6 +33,8 @@ disable=
     consider-using-f-string,
     unspecified-encoding,
     useless-super-delegation, # not against this, but we have to do it for mypy happiness
+    use-implicit-booleaness-not-comparison-to-zero,  # I often prefer non-implicit booleaness.
+    use-implicit-booleaness-not-comparison-to-string,
 
 [REPORTS]
 
index 00fce59c3d024ee5c75a8bc35272b83c0154558c..78aa03c24bd3aa56d6a6a6c35345a18b7f11ea2f 100644 (file)
@@ -56,7 +56,7 @@ sphinx = "^7.0.0"
 coverage = "^7.0"
 twine = "^4.0.0"
 wheel = "^0.41.0"
-pylint = "^2.7.4"
+pylint = ">=2.7,<4"
 mypy = ">=1.0.1"
 black = "^23.1.0"