File tree Expand file tree Collapse file tree 4 files changed +33
-41
lines changed Expand file tree Collapse file tree 4 files changed +33
-41
lines changed Original file line number Diff line number Diff line change 11[flake8]
22max-line-length = 88
3- max-complexity = 25
4- ignore =
5- E203
6- E501
7- W503
3+ extend-ignore =
4+ E203 # "Whitespace before ':'" - not PEP-8 compliant
5+ E501 # "Line too long (82 >= 79 characters)"
6+ per-file-ignores =
7+ __init__.py:F401
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v4.0.1
3+ rev : v4.1.0
44 hooks :
55 - id : check-case-conflict
66 - id : check-merge-conflict
77 - id : trailing-whitespace
88 args : [--markdown-linebreak-ext=md]
99 - id : end-of-file-fixer
10+ - id : check-json
1011 - id : check-toml
1112 - id : check-yaml
1213 - id : requirements-txt-fixer
1314 - repo : https://github.com/pre-commit/mirrors-prettier
14- rev : v2.5.0
15+ rev : v2.5.1
1516 hooks :
1617 - id : prettier
17- - repo : https://github.com/PyCQA/isort
18- rev : 5.10.1
19- hooks :
20- - id : isort
21- additional_dependencies :
22- - toml
2318 - repo : https://github.com/asottile/setup-cfg-fmt
2419 rev : v1.20.0
2520 hooks :
2621 - id : setup-cfg-fmt
2722 - repo : https://github.com/asottile/pyupgrade
28- rev : v2.29.1
23+ rev : v2.31.0
2924 hooks :
3025 - id : pyupgrade
3126 args : [--py38-plus]
27+ # # <<< darker ##
28+ # # - repo: https://github.com/akaihola/darker
29+ # # rev: 1.4.0
30+ # # hooks:
31+ # # - id: darker
32+ # # args: ["--isort"] # TODO: Move to pyproject.toml
33+ # # additional_dependencies:
34+ # # - isort
35+ # # === ##
36+ - repo : https://github.com/PyCQA/isort
37+ rev : 5.10.1
38+ hooks :
39+ - id : isort
3240 - repo : https://github.com/psf/black
33- rev : 21.11b1
41+ rev : 22.1.0
3442 hooks :
35- - id : black
43+ - id : black # black-jupyter
44+ # # >>> black and isort ##
3645 - repo : https://github.com/PyCQA/bandit
37- rev : 1.7.1
46+ rev : 1.7.2
3847 hooks :
3948 - id : bandit
4049 args : [--recursive, --quiet]
Original file line number Diff line number Diff line change 1- proseWrap : always
21printWidth : 88
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools>=46.4" , " wheel" , " setuptools_scm[toml]>=4.1" ]
2+ requires = [
3+ " setuptools>=45" ,
4+ " setuptools_scm[toml]>=6.2" ,
5+ " wheel" ,
6+ ]
37build-backend = " setuptools.build_meta"
48
59[tool .setuptools_scm ]
610
711[tool .black ]
8- line-length = 88
9- target-version = [' py38' ]
10- include = ' \.pyi?$'
11- exclude = '''
12- /(
13- \.eggs
14- | \.git
15- | \.hg
16- | \.mypy_cache
17- | \.tox
18- | \.venv
19- | _build
20- | buck-out
21- | build
22- | dist
23- )/
24- '''
12+ target-version = [" py38" , " py39" , " py310" ]
2513
2614[tool .isort ]
27- multi_line_output = 3
28- include_trailing_comma = true
29- force_grid_wrap = 0
30- use_parentheses = true
31- line_length = 88
15+ profile = " black"
You can’t perform that action at this time.
0 commit comments