diff --git a/.pylintrc b/.pylintrc index 73168af3..24ce006a 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,2 +1,2 @@ [MESSAGES CONTROL] -disable=C0103, R0913, R0902, R0903, R0914, C0209, C0123, R0917 +disable=C0103, R0913, R0902, R0903, R0914, C0209, C0123, R0917, C2801 diff --git a/PyPDFForm/template.py b/PyPDFForm/template.py index 1d4964a0..44bf7d03 100644 --- a/PyPDFForm/template.py +++ b/PyPDFForm/template.py @@ -415,6 +415,7 @@ def update_widget_key( index: int, ) -> bytes: """Updates the key of a widget.""" + # pylint: disable=R0801 pdf = PdfReader(stream_to_io(template)) out = PdfWriter()