Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,35 +85,35 @@ repos:

- repo: builtin
hooks:
- id: check-case-conflict
- id: destroyed-symlinks
- id: check-vcs-permalinks
- id: check-added-large-files
- id: check-illegal-windows-names
- id: check-shebang-scripts-are-executable
- id: trailing-whitespace
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
- id: check-json
- id: check-jsonc
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: check-xml
- id: check-symlinks
- id: check-merge-conflict
- id: fix-byte-order-marker
- id: mixed-line-ending
args: [--fix=lf]
- id: detect-private-key
- id: fix-byte-order-marker
- id: pretty-format-json
args: [--autofix, --indent, "4"]
- id: require-filename-pattern
files: (^|/)tests/.+\.py$ # yamllint disable-line rule:key-ordering
files: (^|/)tests/(?!(?:.+/)?_[a-z_]+/).+\.py$ # yamllint disable-line rule:key-ordering
args:
- ^test_.*\.py$
- ^__init__\.py$
- ^conftest\.py$
- ^_.*\.py$
- id: trailing-whitespace

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.16.0
Expand Down