Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate ruff-pre-commit: v0.4.2 → v0.4.3
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](astral-sh/ruff-pre-commit@v0.4.2...v0.4.3)

* Ignore `Instrument` being ABC and update testing ruff version

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: CoolCat467 <52022020+CoolCat467@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] and CoolCat467 authored May 7, 2024
1 parent 1bb98ae commit 7dbbac9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.2
rev: v0.4.3
hooks:
- id: ruff
types: [file]
Expand Down
2 changes: 1 addition & 1 deletion src/trio/_abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def deadline_to_sleep_time(self, deadline: float) -> float:
"""


class Instrument(metaclass=ABCMeta):
class Instrument(metaclass=ABCMeta): # noqa: B024 # conceptually is ABC
"""The interface for run loop instrumentation.
Instruments don't have to inherit from this abstract base class, and all
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cryptography>=41.0.0 # cryptography<41 segfaults on pypy3.10
black; implementation_name == "cpython"
mypy; implementation_name == "cpython"
types-pyOpenSSL; implementation_name == "cpython" # and annotations
ruff >= 0.1.5
ruff >= 0.4.3
astor # code generation
pip-tools >= 6.13.0
codespell
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pytz==2024.1
# via babel
requests==2.31.0
# via sphinx
ruff==0.4.2
ruff==0.4.3
# via -r test-requirements.in
sniffio==1.3.1
# via -r test-requirements.in
Expand Down

0 comments on commit 7dbbac9

Please sign in to comment.