Skip to content

Commit

Permalink
Fix pre-commit regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonmeso committed Apr 24, 2024
1 parent 9182968 commit 0ecd43c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ repos:
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: docs/*|examples/*
exclude: docs/.*|examples/.*
- id: trailing-whitespace
exclude: docs/*|examples/*
exclude: docs/.*|examples/.*
- id: check-added-large-files
exclude: examples/*
exclude: examples/.*
- id: check-merge-conflict
exclude: examples/*
exclude: examples/.*
- id: no-commit-to-branch
args: [-b main]
exclude: examples/*
exclude: examples/.*
- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
hooks:
Expand All @@ -26,17 +26,17 @@ repos:
entry: isort
language: system
files: "py$"
exclude: examples/*
exclude: examples/.*
args: ["--profile", "black"]
- id: black
name: black
entry: black
language: system
files: "py$"
exclude: examples/*
exclude: examples/.*
- id: ruff
name: ruff
entry: ruff
language: system
files: "py$"
exclude: examples/*
exclude: examples/.*

0 comments on commit 0ecd43c

Please sign in to comment.