1
0
mirror of https://github.com/pommi/python-itho-wpu.git synced 2024-11-13 12:32:15 +01:00
python-itho-wpu/.pre-commit-config.yaml
Pim van den Berg 751182b70d style: apply flake8 and black formatting
To check for errors:
$ pre-commit run --all-files

To install as pre-commit hook:
$ pre-commit install
2021-05-30 14:52:24 +02:00

16 lines
279 B
YAML

repos:
- repo: local
hooks:
- id: flake8
name: flake8
language: system
entry: flake8
types: [python]
stages: [commit]
- id: black
name: black
language: system
entry: black
types: [python]
stages: [commit]