Skip to content

Commit 04b0bf1

Browse files
[pre-commit.ci] pre-commit suggestions (#54)
* [pre-commit.ci] pre-commit suggestions updates: - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.1.0...v4.0.0-alpha.8) - [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.12.2](astral-sh/ruff-pre-commit@v0.11.4...v0.12.2) - [github.com/tox-dev/pyproject-fmt: v2.5.1 → v2.6.0](tox-dev/pyproject-fmt@v2.5.1...v2.6.0) * Apply suggestions from code review * skip PT031 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka B <j.borovec+github@gmail.com>
1 parent 99446d1 commit 04b0bf1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ repos:
5353
- mdformat_frontmatter
5454

5555
- repo: https://github.com/astral-sh/ruff-pre-commit
56-
rev: v0.11.4
56+
rev: v0.12.2
5757
hooks:
5858
# try to fix what is possible
5959
- id: ruff
@@ -64,7 +64,7 @@ repos:
6464
- id: ruff
6565

6666
- repo: https://github.com/tox-dev/pyproject-fmt
67-
rev: v2.5.1
67+
rev: v2.6.0
6868
hooks:
6969
- id: pyproject-fmt
7070
additional_dependencies: [tox]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ lint.per-file-ignores."tests/**" = [
5050
"D101",
5151
"D103",
5252
"D107",
53+
"PT031", # todo: `pytest.warns()` block should contain a single simple statement
5354
"S101",
5455
]
5556
lint.unfixable = [

0 commit comments

Comments
 (0)