Skip to content

Commit

Permalink
Disable invalid pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Dec 14, 2022
1 parent 3add510 commit 5a74a4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions postgres_composite_types/composite_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -111,6 +113,7 @@ def _on_signal_register_type(cls, signal, sender, connection=None, **kwargs):
)
else:
# Registration succeeded.Disconnect the signals now.
# pylint:disable=no-value-for-parameter
cls._disconnect_signals()

def _connect_signals(cls):
Expand Down Expand Up @@ -232,6 +235,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

Expand Down

0 comments on commit 5a74a4e

Please sign in to comment.