extensions-website/.pre-commit-config.yaml
Dalai Felinto 996d7aefc0 Revert "Run API schema update as part of the pre-commit hook"
This is too annoying and OpenAPI is out of sync anyways since we use
to_renderer. Skipping it for now.

This reverts commit 165129d711.
2024-02-20 19:25:56 +01:00

26 lines
646 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_stages: [commit, push]
exclude: 'migrations/'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/ambv/black
rev: 22.6.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.11.0
hooks:
- id: eslint
- repo: https://github.com/PyCQA/flake8
rev: 3.8.3
hooks:
- id: flake8
additional_dependencies: ['flake8-docstrings==1.5.0']