This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
devicehub-teal/.pre-commit-config.yaml

32 lines
822 B
YAML
Raw Normal View History

repos:
- repo: https://github.com/psf/black
2022-07-11 13:36:45 +00:00
rev: 22.6.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
2022-07-11 13:36:45 +00:00
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/conorfalvey/check_pdb_hook
rev: 0.0.9
hooks:
- id: check_pdb_hook
2022-05-18 09:15:41 +00:00
- repo: local
hooks:
- id: build-js
name: build-js
# pre-commit pass as parameters files included on the commit
# so babel command should be wrapped to ignore these files on
# package.json script
2022-05-18 09:15:41 +00:00
entry: npm run babel
language: node
files: ^ereuse_devicehub/static/js/main_inventory.js
2022-09-29 10:22:22 +00:00
- repo: https://github.com/jazzband/pip-tools
rev: 6.8.0
hooks:
- id: pip-compile