27 lines
640 B
YAML
27 lines
640 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: debug-statements
|
|
|
|
#- repo: https://gitlab.com/pycqa/flake8
|
|
# rev: ''
|
|
# hooks:
|
|
# - id: flake8
|
|
# args: [--max-line-length=100]
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: pytest-check
|
|
name: pytest-check
|
|
entry: pytest
|
|
language: system
|
|
pass_filenames: false
|
|
always_run: true
|