Skip to content

Commit

Permalink
Configure black in pre-commit and pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Nov 4, 2024
1 parent 3b6184d commit d334f22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
hooks:
- id: black
args: ["--line-length=120"]
exclude: ^(docs/|tests/)
exclude: ^(docs/)
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ tests = [

[tool.black]
line-length = 120
extend-exclude = """
(
^/docs
)
"""


[tool.codespell]
Expand Down

0 comments on commit d334f22

Please sign in to comment.