Skip to content

Commit 2079d0e

Browse files
[pre-commit.ci] pre-commit autoupdate (#392)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.13 → v0.15.1](astral-sh/ruff-pre-commit@v0.14.13...v0.15.1) * Update pyproject.toml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
1 parent 60b5837 commit 2079d0e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
hooks:
1414
- id: check-yaml
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.14.13
16+
rev: v0.15.1
1717
hooks:
1818
- id: ruff-check
1919
args: [ --fix ]

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,14 @@ ignore = [
6969
"E741", # Ambiguous variable name
7070
# ruff ignore
7171
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
72+
"RUF061", # Use context-manager form of `pytest.raises()`
7273
# pylint ignore
7374
"PLW0603", # Using the global statement
7475
"PLW0120", # remove the else and dedent its contents
7576
"PLW2901", # for loop variable overwritten by assignment target
7677
"PLR5501", # Use `elif` instead of `else` then `if`
7778
"UP031", # Use format specifiers instead of percent format
79+
7880
]
7981

8082
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)