Skip to content

Commit

Permalink
Update pre commit to ignore .cif
Browse files Browse the repository at this point in the history
  • Loading branch information
bobleesj committed Sep 3, 2024
1 parent acb20fd commit 2727622
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ repos:
rev: v2.3.0
hooks:
- id: check-yaml
exclude: '.*\.cif$'
- id: end-of-file-fixer
exclude: '.*\.cif$'
- id: trailing-whitespace
exclude: '.*\.cif$'
- id: check-toml
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.0
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
exclude: '.*\.cif$'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
hooks:
- id: ruff
args: [ --fix ]
exclude: '.*\.cif$'
- id: ruff-format
exclude: '.*\.cif$'

0 comments on commit 2727622

Please sign in to comment.