mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Signed-off-by: Filipe Laíns <lains@archlinux.org> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
24 lines
381 B
YAML
24 lines
381 B
YAML
hooks:
|
|
- &base
|
|
language: python
|
|
types: [python]
|
|
require_serial: true
|
|
exclude: ^migrations/versions
|
|
- &flake8
|
|
id: flake8
|
|
name: flake8
|
|
entry: flake8
|
|
<<: *base
|
|
- &isort
|
|
id: isort
|
|
name: isort
|
|
entry: isort
|
|
<<: *base
|
|
|
|
repos:
|
|
- repo: local
|
|
hooks:
|
|
- <<: *flake8
|
|
- <<: *isort
|
|
args: ['--check-only', '--diff']
|
|
|