Skip to content

Commit d84cced

Browse files
Merge branch 'main' into remove-unused-pytest-version
2 parents 7161970 + 96e1bc4 commit d84cced

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: "v5.0.0"
3+
rev: "v6.0.0"
44
hooks:
55
- id: check-added-large-files
66
- id: check-case-conflict
@@ -14,8 +14,8 @@ repos:
1414
- id: trailing-whitespace
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: "v0.9.2"
17+
rev: "v0.15.17"
1818
hooks:
19-
- id: ruff
20-
args: ["--fix", "--show-fixes"]
19+
- id: ruff-check
20+
args: ["--fix"]
2121
- id: ruff-format

‎pyproject.toml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ requires = [
5050
]
5151
build-backend = "setuptools.build_meta"
5252

53-
[tool.ruff.lint]
54-
extend-select = [
53+
[tool.ruff]
54+
show-fixes = true
55+
lint.extend-select = [
5556
"B", # flake8-bugbear
5657
"I", # isort
5758
"ARG", # flake8-unused-arguments
@@ -71,10 +72,10 @@ extend-select = [
7172
"YTT", # flake8-2020
7273
"EXE", # flake8-executable
7374
]
74-
ignore = [
75+
lint.ignore = [
7576
"PLR", # Design related pylint codes
7677
]
77-
isort.required-imports = ["from __future__ import annotations"]
78+
lint.isort.required-imports = ["from __future__ import annotations"]
7879

7980
[tool.ruff.lint.per-file-ignores]
8081
"tests/**" = ["T20"]

‎pytest_github_actions_annotate_failures/plugin.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def pytest_addoption(parser):
121121
"--exclude-warning-annotations",
122122
action="store_true",
123123
default=False,
124-
help="Annotate failures in GitHub Actions.",
124+
help="Exclude annotating warnings in GitHub Actions.",
125125
)
126126

127127

0 commit comments

Comments
 (0)