1- exclude : " .venv|__pycache__|tests/dev/|tests/fixtures/"
1+ exclude : " .venv|build|dist| __pycache__|tests/dev/|tests/fixtures/"
22fail_fast : false
33repos :
44 - repo : https://github.com/pre-commit/pre-commit-hooks
55 rev : v5.0.0
66 hooks :
77 - id : check-added-large-files
8- args : ["--maxkb=500"]
8+ args :
9+ - --maxkb=500
910 - id : check-ast
1011 - id : check-builtin-literals
1112 - id : check-case-conflict
@@ -15,45 +16,65 @@ repos:
1516 - id : end-of-file-fixer
1617 - id : fix-byte-order-marker
1718 - id : fix-encoding-pragma
18- args : [--remove]
19+ args :
20+ - --remove
1921 - id : name-tests-test
20- args : [--pytest-test-first]
22+ args :
23+ - --pytest-test-first
2124 - id : trailing-whitespace
22- args : [--markdown-linebreak-ext=md]
25+ args :
26+ - --markdown-linebreak-ext=md
2327
2428 - repo : https://github.com/asottile/pyupgrade
2529 rev : v3.19.1
2630 hooks :
2731 - id : pyupgrade
2832 args :
29- - " --py39-plus"
33+ - --py39-plus
3034
3135 - repo : https://github.com/astral-sh/ruff-pre-commit
3236 rev : " v0.11.4"
3337 hooks :
3438 - id : ruff
35- args : ["--fix-only", "--target-version=py39"]
39+ args :
40+ - --fix
41+ - --target-version=py39
42+ types_or :
43+ - python
44+ - pyi
45+ - id : ruff-format
46+ args :
47+ - --line-length=88
48+ - --target-version=py39
49+ types_or :
50+ - python
51+ - pyi
3652
3753 - repo : https://github.com/psf/black
3854 rev : 25.1.0
3955 hooks :
4056 - id : black
41- args : ["--target-version=py39"]
57+ args :
58+ - --target-version=py39
4259
4360 - repo : https://github.com/pycqa/isort
4461 rev : 6.0.1
4562 hooks :
4663 - id : isort
47- args : ["--profile", "black", "--filter-files"]
64+ args :
65+ - --profile
66+ - black
67+ - --filter-files
4868
4969 - repo : https://github.com/pycqa/flake8
5070 rev : 7.2.0
5171 hooks :
5272 - id : flake8
5373 language : python
5474 files : ^dicogis/.*\.py$
55- types : [python]
56- args : ["--config=setup.cfg", "--select=E9,F63,F7,F82"]
75+ args :
76+ - --config=setup.cfg
77+ - --select=E9,F63,F7,F82
5778
5879ci :
5980 autofix_prs : true
0 commit comments