repos: - repo: https://github.com/psf/black rev: 22.6.0 hooks: - id: black - repo: https://github.com/PyCQA/isort 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 - 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 entry: npm run babel language: node files: ^ereuse_devicehub/static/js/main_inventory.js