File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 55 hooks :
66 - id : check-merge-conflict
77 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]
813- repo : https://github.com/asottile/yesqa
914 rev : v1.5.0
1015 hooks :
@@ -43,11 +48,6 @@ repos:
4348 exclude : ^(docs|tests)/.*
4449 additional_dependencies :
4550 - pytest
46- - repo : https://github.com/pycqa/flake8
47- rev : 7.1.1
48- hooks :
49- - id : flake8
50- language_version : python3
5151- repo : https://github.com/pre-commit/pygrep-hooks
5252 rev : v1.10.0
5353 hooks :
Original file line number Diff line number Diff line change @@ -9,3 +9,11 @@ requires = [
99
1010[tool .setuptools_scm ]
1111write_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
7474filterwarnings =
7575 error
7676 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