Skip to content

Commit cef7a17

Browse files
chore(pre-commit.ci): pre-commit autoupdate (#1594)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
1 parent 6846b66 commit cef7a17

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ci:
99

1010
repos:
1111
- repo: https://github.com/commitizen-tools/commitizen
12-
rev: v4.8.2
12+
rev: v4.8.3
1313
hooks:
1414
- id: commitizen
1515
stages: [commit-msg]
@@ -40,7 +40,7 @@ repos:
4040
- id: pyupgrade
4141
args: [--py39-plus]
4242
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: v0.11.11
43+
rev: v0.12.5
4444
hooks:
4545
- id: ruff
4646
args: [--fix, --exit-non-zero-on-fix]
@@ -50,16 +50,16 @@ repos:
5050
hooks:
5151
- id: codespell
5252
- repo: https://github.com/PyCQA/flake8
53-
rev: 7.2.0
53+
rev: 7.3.0
5454
hooks:
5555
- id: flake8
5656
- repo: https://github.com/pre-commit/mirrors-mypy
57-
rev: v1.15.0
57+
rev: v1.17.0
5858
hooks:
5959
- id: mypy
6060
additional_dependencies: [ifaddr]
6161
- repo: https://github.com/MarcoGorelli/cython-lint
62-
rev: v0.16.6
62+
rev: v0.16.7
6363
hooks:
6464
- id: cython-lint
6565
- id: double-quote-cython-strings

build_ext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def build(setup_kwargs: Any) -> None:
5656
if os.environ.get("SKIP_CYTHON"):
5757
return
5858
try:
59-
from Cython.Build import cythonize
59+
from Cython.Build import cythonize # noqa: PLC0415
6060

6161
setup_kwargs.update(
6262
{

src/zeroconf/_dns.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class DNSQuestionType(enum.Enum):
6363
QM = 2
6464

6565

66-
class DNSEntry:
66+
class DNSEntry: # noqa: PLW1641
6767
"""A DNS entry"""
6868

6969
__slots__ = ("class_", "key", "name", "type", "unique")
@@ -161,7 +161,7 @@ def __repr__(self) -> str:
161161
)
162162

163163

164-
class DNSRecord(DNSEntry):
164+
class DNSRecord(DNSEntry): # noqa: PLW1641
165165
"""A DNS record - like a DNS entry, but has a TTL"""
166166

167167
__slots__ = ("created", "ttl")

src/zeroconf/_services/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
heappush = heapq.heappush
100100

101101

102-
class _ScheduledPTRQuery:
102+
class _ScheduledPTRQuery: # noqa: PLW1641
103103
__slots__ = (
104104
"alias",
105105
"cancelled",

0 commit comments

Comments
 (0)