Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth authored Nov 14, 2024
1 parent e195552 commit a4cc51a
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,32 @@ default_language_version:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
# Validate format
- id: check-yaml
args: [ '--allow-multiple-documents' ]
- id: check-toml
- id: check-json
args: ['--autofix', '--no-ensure-ascii', '--no-sort-keys']
# Check for common mistakes
- id: check-added-large-files
- id: check-case-conflict
# - id: check-illegal-windows-names # TODO: Enable in next release
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-vcs-permalinks
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
exclude: ".ipynb"
- id: mixed-line-ending
- id: no-commit-to-branch # protects `main` by default
- id: debug-statements
- id: trailing-whitespace
exclude: ".txt"
rev: v5.0.0
hooks:
# Validate format
- id: check-yaml
args: [ '--allow-multiple-documents' ]
- id: check-toml
- id: check-json
args: ['--autofix', '--no-ensure-ascii', '--no-sort-keys']
# Check for common mistakes
- id: check-added-large-files
- id: check-case-conflict
# - id: check-illegal-windows-names # TODO: Enable in next release
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-vcs-permalinks
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
exclude: ".ipynb"
- id: mixed-line-ending
- id: no-commit-to-branch # protects `main` by default
- id: debug-statements
- id: trailing-whitespace
exclude: ".txt"

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.2
Expand All @@ -43,7 +43,6 @@ repos:
args: ["--fix", "--exit-non-zero-on-fix"]
- id: ruff-format

# https://github.com/python/black#version-control-integration
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
Expand Down

0 comments on commit a4cc51a

Please sign in to comment.