File tree 3 files changed +13
-8
lines changed
3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 5
5
hooks :
6
6
- id : check-merge-conflict
7
7
exclude : rst$
8
+ - repo : https://github.com/astral-sh/ruff-pre-commit
9
+ rev : v0.7.0
10
+ hooks :
11
+ - id : ruff
12
+ args : [--fix]
8
13
- repo : https://github.com/asottile/yesqa
9
14
rev : v1.5.0
10
15
hooks :
@@ -43,11 +48,6 @@ repos:
43
48
exclude : ^(docs|tests)/.*
44
49
additional_dependencies :
45
50
- pytest
46
- - repo : https://github.com/pycqa/flake8
47
- rev : 7.1.1
48
- hooks :
49
- - id : flake8
50
- language_version : python3
51
51
- repo : https://github.com/pre-commit/pygrep-hooks
52
52
rev : v1.10.0
53
53
hooks :
Original file line number Diff line number Diff line change @@ -9,3 +9,11 @@ requires = [
9
9
10
10
[tool .setuptools_scm ]
11
11
write_to = " pytest_asyncio/_version.py"
12
+
13
+ [tool .ruff ]
14
+ line-length = 88
15
+ lint.select = [
16
+ " E" , # pycodestyle
17
+ " F" , # pyflakes
18
+ " W" , # pycodestyle
19
+ ]
Original file line number Diff line number Diff line change @@ -74,6 +74,3 @@ junit_family=xunit2
74
74
filterwarnings =
75
75
error
76
76
ignore:The event_loop fixture provided by pytest-asyncio has been redefined.*:DeprecationWarning
77
-
78
- [flake8]
79
- max-line-length = 88
You can’t perform that action at this time.
0 commit comments