]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Silent pylint's line-too-long warning as it's handled better by black
authorŠtěpán Balážik <stepan@isc.org>
Thu, 2 Nov 2023 15:29:46 +0000 (16:29 +0100)
committerPetr Špaček <pspacek@isc.org>
Tue, 28 May 2024 12:12:16 +0000 (12:12 +0000)
Black allows the lines with string literals to be longer, which is
convenient for descriptive error messages.

.pylintrc

index 07d503514d1399cc531277e0338a4bf34472ac1d..b5ea55a5e5da708e51752c48a5fe07cbb351f3ce 100644 (file)
--- a/.pylintrc
+++ b/.pylintrc
@@ -5,6 +5,7 @@ disable=
     C0115, # missing-class-docstring
     C0116, # missing-function-docstring
     C0209, # consider-using-f-string
+    C0301, # line-too-long, handled better by black
     C0415, # import-outside-toplevel
     R0801, # duplicate-code
     R0903, # too-few-public-methods