overseer/.pre-commit-config.yaml

23 lines
621 B
YAML
Raw Normal View History

2021-03-18 13:01:07 +00:00
repos:
2021-03-22 02:04:00 +00:00
- repo: local
hooks:
- id: overseer-client-yarn-lint
name: overseer-client-yarn-lint
entry: bash -c 'cd src/overseer_client && exec yarn lint --max-warnings 0'
language: system
types: [javascript]
files: '^src/overseer_client/src/'
2021-03-18 13:01:07 +00:00
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
2021-03-22 02:04:00 +00:00
name: overseer-server-black
2021-03-18 13:01:07 +00:00
language_version: python3.9
2021-03-21 03:15:22 +00:00
files: '^src/overseer/|^setup.py|^tests/overseer/'
2021-03-18 13:01:07 +00:00
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
2021-03-22 02:04:00 +00:00
name: overseer-server-flake8
2021-03-21 03:15:22 +00:00
files: '^src/overseer/|^setup.py|^tests/overseer/'