Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs=0
# complex, nested conditions.
limit-inference-results=100

# List of plugins (as comma separated values of python module names) to load,
# List of plugins (as comma separated values of Python module names) to load,
# usually to register additional checkers.
load-plugins=pylint.extensions.no_self_use

Expand Down Expand Up @@ -116,7 +116,7 @@ enable=
# global evaluation report (RP0004).
evaluation=10.0 - ((float(5 * error + warning + refactor + convention + info) / statement) * 10)

# Template used to display messages. This is a python new-style format string
# Template used to display messages. This is a Python new-style format string
# used to format the message information. See doc for all details.
#msg-template=

Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def format_ttl(ttl: int | None) -> str:
RecordIDT_co = t.TypeVar("RecordIDT_co", covariant=True)


class IDNSRecord(t.Protocol, t.Generic[RecordIDT_co]):
class IDNSRecord(t.Protocol, t.Generic[RecordIDT_co]): # pragma: no cover
@property
def id(self) -> RecordIDT_co: ...

Expand Down
4 changes: 3 additions & 1 deletion plugins/module_utils/_record_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
RecordSetIDT_co = t.TypeVar("RecordSetIDT_co", covariant=True)


class IDNSRecordSet(t.Protocol, t.Generic[RecordSetIDT_co, RecordIDT_co]):
class IDNSRecordSet(
t.Protocol, t.Generic[RecordSetIDT_co, RecordIDT_co]
): # pragma: no cover
@property
def id(self) -> RecordSetIDT_co: ...

Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/_zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
ZoneIDT_co = t.TypeVar("ZoneIDT_co", covariant=True)


class IDNSZone(t.Protocol, t.Generic[ZoneIDT_co]):
class IDNSZone(t.Protocol, t.Generic[ZoneIDT_co]): # pragma: no cover
@property
def id(self) -> ZoneIDT_co: ...

Expand Down