Skip to content

Commit fafab1d

Browse files
[pre-commit.ci] pre-commit autoupdate (#12238)
* [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 <[email protected]>
1 parent 5cffef7 commit fafab1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: "v0.3.7"
3+
rev: "v0.4.1"
44
hooks:
55
- id: ruff
66
args: ["--fix"]
@@ -43,7 +43,7 @@ repos:
4343
# on <3.11
4444
- exceptiongroup>=1.0.0rc8
4545
- repo: https://github.com/tox-dev/pyproject-fmt
46-
rev: "1.7.0"
46+
rev: "1.8.0"
4747
hooks:
4848
- id: pyproject-fmt
4949
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version

testing/io/test_saferepr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def raise_exc(self, *args):
7979
raise self.exc_type(*args)
8080
raise self.exc_type
8181

82-
def __str__(self):
82+
def __str__(self): # noqa: PLE0307
8383
self.raise_exc("__str__")
8484

8585
def __repr__(self):

0 commit comments

Comments
 (0)