File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
exclude : ' ^($|.*\.bin)'
2
2
repos :
3
- - repo : https://github.com/psf/black
4
- rev : 23.11.0
5
- hooks :
6
- - id : black
7
- args : [--safe, --quiet]
8
3
- repo : https://github.com/pre-commit/pre-commit-hooks
9
4
rev : v4.5.0
10
5
hooks :
@@ -18,11 +13,12 @@ repos:
18
13
files : ^(CHANGELOG.rst|README.rst|HOWTORELEASE.rst|changelog/.*)$
19
14
language : python
20
15
additional_dependencies : [pygments, restructuredtext_lint]
21
- - repo : https://github.com/asottile/reorder-python-imports
22
- rev : v3.12.0
16
+ - repo : https://github.com/astral-sh/ruff-pre-commit
17
+ rev : v0.1.14
23
18
hooks :
24
- - id : reorder-python-imports
25
- args : ['--application-directories=.:src']
19
+ - id : ruff
20
+ args : [ --fix ]
21
+ - id : ruff-format
26
22
- repo : https://github.com/pre-commit/mirrors-mypy
27
23
rev : v1.7.1
28
24
hooks :
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [
3
+ " setuptools" ,
4
+ " setuptools-scm[toml]" ,
5
+ ]
6
+ build-backend = " setuptools.build_meta"
7
+
8
+ [tool .ruff ]
You can’t perform that action at this time.
0 commit comments