File tree Expand file tree Collapse file tree
pytest_github_actions_annotate_failures Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11repos :
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
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
Original file line number Diff line number Diff line change @@ -50,8 +50,9 @@ requires = [
5050]
5151build-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" ]
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments