2021-07-05 19:37:05 +02:00
|
|
|
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2021-10-04 18:10:31 +02:00
|
|
|
repos:
|
2021-06-21 21:43:49 +02:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
name: flake8
|
|
|
|
entry: flake8
|
|
|
|
language: system
|
|
|
|
files: ^.*\.py$
|
|
|
|
exclude: ^(migrations).*$
|
2021-06-27 10:57:43 +02:00
|
|
|
- id: yapf
|
|
|
|
name: yapf
|
|
|
|
entry: yapf -i
|
|
|
|
language: system
|
|
|
|
files: ^.*\.py$
|
|
|
|
exclude: ^(migrations).*$
|
2021-06-22 17:35:27 +02:00
|
|
|
- id: unittest
|
|
|
|
name: unittest
|
|
|
|
entry: python -m unittest discover ki
|
|
|
|
language: system
|
|
|
|
exclude: .*
|
|
|
|
always_run: true
|
2021-07-05 19:37:05 +02:00
|
|
|
- id: reuse
|
|
|
|
name: reuse
|
|
|
|
entry: reuse lint
|
|
|
|
language: system
|
|
|
|
exclude: .*
|
|
|
|
always_run: true
|