File tree Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
- - repo : https://github.com/psf/black
3
- rev : 23.12.1
4
- hooks :
5
- - id : black
6
- name : black
7
- - repo : https://github.com/pycqa/isort
8
- rev : 5.12.0
9
- hooks :
10
- - id : isort
11
2
- repo : https://github.com/astral-sh/ruff-pre-commit
12
- rev : v0.1.8
3
+ rev : v0.3.3
13
4
hooks :
14
5
- id : ruff
6
+ - id : ruff-format
15
7
- repo : https://github.com/pycqa/doc8
16
8
rev : v1.1.1
17
9
hooks :
18
10
- id : doc8
19
11
- repo : https://github.com/pre-commit/mirrors-mypy
20
- rev : v1.8 .0
12
+ rev : v1.9 .0
21
13
hooks :
22
14
- id : mypy
Original file line number Diff line number Diff line change 1
1
[envs .default ]
2
2
dependencies = [
3
- " freezegun==1.2 .*" ,
3
+ " freezegun==1.4 .*" ,
4
4
" pytest-cov==4.1.*" ,
5
- " pytest==7.3 .*" ,
5
+ " pytest==8.1 .*" ,
6
6
]
7
7
features = [
8
8
" pydantic" ,
@@ -14,22 +14,21 @@ test = "cov-test --no-cov"
14
14
15
15
[envs .lint ]
16
16
extra-dependencies = [
17
- " ruff==0.1.*" ,
18
- " black==23.12.*" ,
19
- " mypy==1.8.*" ,
17
+ " ruff==0.3.*" ,
18
+ " mypy==1.9.*" ,
20
19
" doc8==1.1.*" ,
21
20
" pygments==2.16.*" ,
22
21
]
23
22
24
23
[envs .lint .scripts ]
25
24
typing = " mypy --install-types --non-interactive {args:schwifty tests}"
26
25
style = [
27
- " black --check --diff {args:.}" ,
28
- " ruff {args:.}" ,
26
+ " ruff format --check --diff {args:.}" ,
27
+ " ruff check {args:.}" ,
29
28
]
30
29
fmt = [
31
- " black {args:.}" ,
32
- " ruff --fix {args:.}" ,
30
+ " ruff format {args:.}" ,
31
+ " ruff check --fix {args:.}" ,
33
32
]
34
33
docs = " doc8 docs/source"
35
34
You can’t perform that action at this time.
0 commit comments