File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : " v4.4 .0"
3
+ rev : " v5.0 .0"
4
4
hooks :
5
5
- id : check-added-large-files
6
6
- id : check-case-conflict
@@ -13,13 +13,8 @@ repos:
13
13
- id : requirements-txt-fixer
14
14
- id : trailing-whitespace
15
15
16
- - repo : https://github.com/mgedmin/check-manifest
17
- rev : " 0.49"
18
- hooks :
19
- - id : check-manifest
20
-
21
16
- repo : https://github.com/astral-sh/ruff-pre-commit
22
- rev : " v0.0.262 "
17
+ rev : " v0.7.0 "
23
18
hooks :
24
19
- id : ruff
25
20
args : ["--fix", "--show-fixes"]
Original file line number Diff line number Diff line change @@ -52,9 +52,8 @@ changelog = "https://github.com/pytest-dev/pytest-github-actions-annotate-failur
52
52
pytest_github_actions_annotate_failures = " pytest_github_actions_annotate_failures.plugin"
53
53
54
54
55
- [tool .ruff ]
56
- select = [
57
- " E" , " F" , " W" , # flake8
55
+ [tool .ruff .lint ]
56
+ extend-select = [
58
57
" B" , # flake8-bugbear
59
58
" I" , # isort
60
59
" ARG" , # flake8-unused-arguments
@@ -74,17 +73,11 @@ select = [
74
73
" YTT" , # flake8-2020
75
74
" EXE" , # flake8-executable
76
75
]
77
- extend- ignore = [
76
+ ignore = [
78
77
" PLR" , # Design related pylint codes
79
- " E501" , # Line too long
80
78
" PT004" , # Use underscore for non-returning fixture (use usefixture instead)
81
79
]
82
- target-version = " py37"
83
- unfixable = [
84
- " T20" , # Removes print statements
85
- " F841" , # Removes unused variables
86
- ]
87
80
isort.required-imports = [" from __future__ import annotations" ]
88
81
89
- [tool .ruff .per-file-ignores ]
82
+ [tool .ruff .lint . per-file-ignores ]
90
83
"tests/**" = [" T20" ]
You can’t perform that action at this time.
0 commit comments