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.
2022-02-10 13:05:26 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
2022-07-11 13:36:45 +00:00
|
|
|
rev: 22.6.0
|
2022-02-10 13:05:26 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2022-07-11 13:36:45 +00:00
|
|
|
rev: 5.10.1
|
2022-02-10 13:05:26 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2022-02-11 10:30:57 +00:00
|
|
|
- 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
|
2022-09-29 10:04:05 +00:00
|
|
|
# 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
|
2022-09-29 10:04:05 +00:00
|
|
|
files: ^ereuse_devicehub/static/js/main_inventory.js
|