32 lines
677 B
YAML
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
|