ki-backend/.pre-commit-config.yaml
scammo 8772a13163
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
availibility
2021-10-04 18:10:31 +02:00

32 lines
677 B
YAML

# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
repos:
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
language: system
files: ^.*\.py$
exclude: ^(migrations).*$
- id: yapf
name: yapf
entry: yapf -i
language: system
files: ^.*\.py$
exclude: ^(migrations).*$
- id: unittest
name: unittest
entry: python -m unittest discover ki
language: system
exclude: .*
always_run: true
- id: reuse
name: reuse
entry: reuse lint
language: system
exclude: .*
always_run: true