Files
issue-stats/.pre-commit-config.yaml
2023-06-30 12:31:02 +02:00

43 lines
1.0 KiB
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
# Generic hooks, relevant for any language.
- id: forbid-new-submodules
- id: fix-byte-order-marker
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
args:
- --fix=lf
- id: detect-private-key
- id: check-added-large-files
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: check-json
- id: check-toml
- id: check-xml
- id: check-yaml
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-case-conflict
- id: check-symlinks
# Python-specific hooks.
- id: requirements-txt-fixer
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8