From f227d549b2dca0cf21a27596b74525b4f1eeec36 Mon Sep 17 00:00:00 2001 From: Jerome Leclanche Date: Wed, 14 Dec 2022 07:23:04 +0100 Subject: [PATCH] Disable invalid pylint errors --- postgres_composite_types/composite_type.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/postgres_composite_types/composite_type.py b/postgres_composite_types/composite_type.py index e188f4a..340e7e4 100644 --- a/postgres_composite_types/composite_type.py +++ b/postgres_composite_types/composite_type.py @@ -32,6 +32,7 @@ def __prepare__(cls, name, bases): """ return {} + # pylint:disable=arguments-differ def __new__(cls, name, bases, attrs): # Only apply the metaclass to our subclasses if name == "CompositeType": @@ -78,6 +79,7 @@ def __init__(cls, name, bases, attrs): if name == "CompositeType": return + # pylint:disable=no-value-for-parameter cls._connect_signals() def _on_signal_register_type(cls, signal, sender, connection=None, **kwargs): @@ -111,7 +113,7 @@ def _on_signal_register_type(cls, signal, sender, connection=None, **kwargs): ) else: # Registration succeeded.Disconnect the signals now. - cls._disconnect_signals() + cls._disconnect_signals() # pylint:disable=no-value-for-parameter def _connect_signals(cls): type_id = cls._meta.db_table @@ -232,6 +234,7 @@ class Field(BaseField): Placeholder for the field that will be produced for this type. """ + # pylint:disable=invalid-name def _get_next_or_previous_by_FIELD(self): pass