Skip to content
Snippets Groups Projects
Commit 5495ed60 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[pre-commit] simplify configuration

parent 5da99c54
No related branches found
No related tags found
1 merge request!30Adds pre-commit support
Pipeline #52936 failed
[flake8]
max-line-length = 80
select = B,C,E,F,W,T4,B9,B950
ignore = E501, W503, E203, E741
ignore = E501,W503,E302,E402
[settings]
profile=black
line_length=80
order_by_type=true
lines_between_types=1
......@@ -5,19 +5,10 @@ repos:
rev: 5.9.3
hooks:
- id: isort
args: [
--profile, "black",
--line-length, "80",
--order-by-type,
--lines-between-types, "1"
]
- repo: https://github.com/psf/black
rev: 21.7b0
hooks:
- id: black
args: [
--line-length, "80",
]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
......
[build-system]
requires = ["setuptools", "wheel", "bob.extension"]
build-backend = "setuptools.build_meta"
requires = ["setuptools", "wheel", "bob.extension"]
build-backend = "setuptools.build_meta"
[tool.isort]
profile = "black"
line_length = 80
order_by_type = true
lines_between_types = 1
[tool.black]
line-length = 80
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment