Skip to content

Commit

Permalink
Fix pre-commit to ignore docs and test samples
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Oct 23, 2023
1 parent d4202c1 commit 56bcf33
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@ repos:
- id: check-json
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: |
(?x)^(
src/core_codemods/docs/.*
)$
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
exclude: |
(?x)^(
samples/.*|
core_codemods/docs/.*
tests/samples/.*|
)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
Expand Down

0 comments on commit 56bcf33

Please sign in to comment.