mirror of
https://github.com/godotengine/issue-stats.git
synced 2026-01-01 01:48:12 +03:00
43 lines
1.0 KiB
YAML
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
|