44 hooks :
55 - id : check-added-large-files
66 args : ["--maxkb=10000"]
7+ - id : check-ast
78 - id : check-case-conflict
9+ - id : check-docstring-first
810 - id : check-merge-conflict
911 - id : check-symlinks
12+ - id : check-toml
1013 - id : check-yaml
1114 - id : debug-statements
1215 - id : end-of-file-fixer
16+ - id : fix-byte-order-marker
1317 - id : fix-encoding-pragma
18+ args : ["--remove"]
19+ - id : name-tests-test
20+ args : ["--pytest-test-first"]
1421 - id : requirements-txt-fixer
1522 - id : trailing-whitespace
1623
1926 hooks :
2027 - id : isort
2128 name : isort (python)
22- args : ["--profile=black"]
29+ args : [ "--profile=black", "--multi-line=3" ]
2330
2431 - repo : https://github.com/psf/black
2532 rev : 23.1.0
@@ -32,26 +39,27 @@ repos:
3239 hooks :
3340 - id : flake8
3441 additional_dependencies : [ flake8-bugbear, flake8-print, Flake8-pyproject ]
42+ args : [ "--max-line-length=88", "--extend-ignore=E203" ]
3543
3644 - repo : https://github.com/nbQA-dev/nbQA
3745 rev : 1.6.1
3846 hooks :
3947 - id : nbqa-isort
4048 additional_dependencies : [ isort==5.10.1 ]
41- args : [ "--nbqa-dont-skip-bad-cells" ]
49+ args : [ "--nbqa-dont-skip-bad-cells", "--profile=black", "--multi-line=3" ]
4250 - id : nbqa-black
4351 additional_dependencies : [ black==22.10.0 ]
4452 args : [ "--nbqa-dont-skip-bad-cells" ]
4553 - id : nbqa-flake8
4654 additional_dependencies : [ flake8==5.0.4 ]
47- args : [ "--nbqa-dont-skip-bad-cells", "--extend-ignore=E402,E203" ]
55+ args : [ "--nbqa-dont-skip-bad-cells", "--extend-ignore=E402,E203", "--max-line-length=88" ]
4856
4957 - repo : https://github.com/pycqa/pydocstyle
5058 rev : 6.3.0
5159 hooks :
5260 - id : pydocstyle
53- args : ["--convention=numpy", "--match=^((?!_wip).)*$" ]
54- additional_dependencies : [ toml ]
61+ args : ["--convention=numpy"]
62+ additional_dependencies : [ toml, tomli ]
5563
5664 - repo : https://github.com/pre-commit/mirrors-mypy
5765 rev : v1.0.1
0 commit comments