Skip to content

Commit

Permalink
chore: ignore md files in pre-commit prettier, ruff, blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed May 29, 2024
1 parent 0817954 commit 0fade3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies: [black==23.7.0]
exclude: \.md

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.4"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
exclude: \.md
- id: ruff-format
exclude: \.md

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.6.0"
Expand Down Expand Up @@ -73,6 +76,7 @@ repos:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]
exclude: \.md

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.0"
Expand Down

0 comments on commit 0fade3b

Please sign in to comment.