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

[pre-commit] improve checking; slightly modify check order

parent 7570e410
No related branches found
No related tags found
1 merge request!30Adds pre-commit support
Pipeline #52898 failed
[flake8]
max-line-length = 88
select = B,C,E,F,W,T4,B9,B950
ignore = E501, W503, E203, E741
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/timothycrosley/isort
rev: 5.9.3
hooks:
- id: isort
args: [--sl, --line-length, "88"]
- repo: https://github.com/psf/black
rev: 21.7b0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
exclude: bob/ip/binseg/configs|doc/conf.py
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
......@@ -12,17 +26,3 @@ repos:
- id: check-added-large-files
- id: check-yaml
exclude: .*/meta.yaml
- repo: https://github.com/psf/black
rev: 21.7b0
hooks:
- id: black
- repo: https://github.com/timothycrosley/isort
rev: 5.9.3
hooks:
- id: isort
args: [--sl, --line-length, "88"]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
exclude: bob/ip/binseg/configs|doc/conf.py
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