Commit 41a84934 authored by Filipe Laíns's avatar Filipe Laíns 🌈 Committed by Lukas Fleischer
Browse files

pre-commit: add initial config


Signed-off-by: Filipe Laíns's avatarFilipe Laíns <lains@archlinux.org>
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent 8f47b8d7
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']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment