You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
996 B
39 lines
996 B
3 years ago
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v2.4.0
|
||
|
hooks:
|
||
|
- id: check-added-large-files
|
||
|
- id: check-byte-order-marker
|
||
|
- id: check-json
|
||
|
- id: check-merge-conflict
|
||
|
- id: check-toml
|
||
|
- id: debug-statements
|
||
|
- id: detect-private-key
|
||
|
- repo: local
|
||
|
hooks:
|
||
|
- id: isort-project
|
||
|
name: isort_project
|
||
|
entry: isort -rc elab_users
|
||
|
language: system
|
||
|
pass_filenames: false
|
||
|
- id: isort-test
|
||
|
name: isort_test
|
||
|
entry: isort -rc tests
|
||
|
language: system
|
||
|
pass_filenames: false
|
||
|
- id: black
|
||
|
name: black
|
||
|
entry: black elab_users tests
|
||
|
language: system
|
||
|
pass_filenames: false
|
||
|
- id: flake8
|
||
|
name: flake8
|
||
|
entry: flake8 elab_users tests
|
||
|
language: system
|
||
|
pass_filenames: false
|
||
|
- id: pytest
|
||
|
name: pytest
|
||
|
entry: pytest tests
|
||
|
pass_filenames: false
|
||
|
language: system
|