Files
bbs/.pre-commit-config.yaml
T
Nikolai R Kristiansen dcd8edaaa6 🚨 Add pre-commit
Format code
Add bin/run
2022-01-16 22:49:21 +01:00

20 lines
432 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: local
hooks:
- id: black
name: black
entry: pipenv run black
exclude: model_config.py
args: [--check]
language: system
require_serial: true
types: [python]
- id: isort
name: isort
entry: pipenv run isort
args: [--check-only]
language: system
types: [python]