Skip to content

Commit

Permalink
exclude .svg files from black and pre-commit formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
epistoteles committed Jun 18, 2024
1 parent b462682 commit ad14154
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ repos:
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: \.svg$
- id: trailing-whitespace
exclude: (\.md|\.svg$)
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion coverage-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311"]
extend-exclude = "README.md"
extend-exclude = (\.md|\.svg$)

[build-system]
requires = ["setuptools>=42.0", "wheel"]
Expand Down

0 comments on commit ad14154

Please sign in to comment.