1
0
mirror of https://github.com/quay/quay.git synced 2025-04-18 10:44:06 +03:00
quay/.pre-commit-config.yaml
Brandon Caton 417e66ee76
ui: run builds (PROJQUAY-6297) (#2636)
Adds the ability for users to run builds via the Patternfly UI.
2024-02-13 12:00:59 -05:00

34 lines
907 B
YAML

repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.4
hooks:
- id: gitleaks
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--settings-path", "pyproject.toml"]
- repo: local
hooks:
- id: config-files-check
name: Checking Config file changes
entry: .github/hooks/pre-commit.sh
language: script
- id: eslint
name: ESLint
entry: web/node_modules/.bin/eslint --fix
language: system
files: ^web/
exclude: ^web/cypress/test/|^web/cypress/fixtures
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
exclude: ^web/cypress/test/
- id: end-of-file-fixer
exclude: ^web/cypress/test/