Commit 1faff0cc authored by inkhey's avatar inkhey

better precommit file

parent 3d78d4fb
Pipeline #231470 canceled with stages
in 1 minute and 29 seconds
......@@ -9,6 +9,13 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
hooks:
- id: flake8
files: 'pioupiou'
- id: flake8
files: 'tests'
- repo: https://github.com/asottile/seed-isort-config
rev: v1.8.0
hooks:
......@@ -18,30 +25,14 @@ repos:
hooks:
- id: isort
files: 'pioupiou/(.*)/*.py'
- repo: https://github.com/pre-commit/mirrors-isort
rev: 'v4.3.18'
hooks:
- id: isort
files: 'tests/(.*)/*.py'
- id: isort
files: 'tests/(.*)/*.py'
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
args: [-l 100]
files: 'pioupiou'
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
args: [-l 100]
files: 'tests'
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v2.5.0
hooks:
- id: flake8
files: 'pioupiou'
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v2.5.0
hooks:
- id: flake8
files: 'tests'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment