File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 3
3
rev : v2.2.6
4
4
hooks :
5
5
- id : codespell
6
- - repo : https://github.com/psf/black
7
- rev : 23.11.0
8
- hooks :
9
- - id : black
10
6
- repo : https://github.com/asottile/blacken-docs
11
7
rev : 1.16.0
12
8
hooks :
@@ -23,11 +19,13 @@ repos:
23
19
hooks :
24
20
- id : pyupgrade
25
21
args : [--py37-plus]
26
- - repo : https://github.com/asottile/reorder-python-imports
27
- rev : v3.12.0
22
+ - repo : https://github.com/astral-sh/ruff-pre-commit
23
+ rev : v0.1.14
28
24
hooks :
29
- - id : reorder-python-imports
30
- args : ['--application-directories=execnet', --py37-plus]
25
+ - id : ruff
26
+ args : [ --fix ]
27
+ exclude : " ^doc/"
28
+ - id : ruff-format
31
29
- repo : https://github.com/PyCQA/doc8
32
30
rev : ' v1.1.1'
33
31
hooks :
Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ testing = [
45
45
[project .urls ]
46
46
Homepage = " https://execnet.readthedocs.io/en/latest/"
47
47
48
+ [tool .ruff .lint ]
49
+ ignore = [" E741" ]
50
+
48
51
[tool .hatch .version ]
49
52
source = " vcs"
50
53
You can’t perform that action at this time.
0 commit comments