File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # See https://pre-commit.com for more information
2- # See https://pre-commit.com/hooks.html for more hooks
3- # vim: set nospell:
41repos :
52 - repo : https://github.com/pre-commit/pre-commit-hooks
63 rev : v4.0.1
96 args : [--markdown-linebreak-ext=md]
107 - id : end-of-file-fixer
118 - id : debug-statements
12- - repo : https://github.com/asottile/reorder_python_imports
13- rev : v2.6.0
9+ - repo : https://github.com/pycqa/isort
10+ rev : 5.9.3
1411 hooks :
15- - id : reorder-python-imports
12+ - id : isort
1613 - repo : https://github.com/psf/black
1714 rev : " 21.7b0"
1815 hooks :
2118 rev : " 3.9.2" # pick a git hash / tag to point to
2219 hooks :
2320 - id : flake8
24- additional_dependencies : [flake8-comprehensions, flake8-import-order, flake8-bugbear]
21+ additional_dependencies :
22+ - flake8-comprehensions
23+ - flake8-bugbear
2524 - repo : https://github.com/pre-commit/mirrors-mypy
2625 rev : ' v0.910' # Use the sha / tag you want to point at
2726 hooks :
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ exclude = docs/conf.py
33max-line-length = 88
44extend-ignore = E203, W503
55
6+ [isort]
7+ force_single_line =true
8+
69[tool:pytest]
710addopts =
811 -vv
You can’t perform that action at this time.
0 commit comments