Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#12238)
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.3.7 → v0.4.1](astral-sh/ruff-pre-commit@v0.3.7...v0.4.1)
- [github.com/tox-dev/pyproject-fmt: 1.7.0 → 1.8.0](tox-dev/pyproject-fmt@1.7.0...1.8.0)

* noqa a test

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and Pierre-Sassoulas authored Apr 23, 2024
1 parent 5cffef7 commit fafab1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.3.7"
rev: "v0.4.1"
hooks:
- id: ruff
args: ["--fix"]
Expand Down Expand Up @@ -43,7 +43,7 @@ repos:
# on <3.11
- exceptiongroup>=1.0.0rc8
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "1.7.0"
rev: "1.8.0"
hooks:
- id: pyproject-fmt
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
Expand Down
2 changes: 1 addition & 1 deletion testing/io/test_saferepr.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def raise_exc(self, *args):
raise self.exc_type(*args)
raise self.exc_type

def __str__(self):
def __str__(self): # noqa: PLE0307
self.raise_exc("__str__")

def __repr__(self):
Expand Down

0 comments on commit fafab1d

Please sign in to comment.