Skip to content

Commit

Permalink
fix black configuration: checks are done only on the workflow action …
Browse files Browse the repository at this point in the history
…and not on the precommit stage
  • Loading branch information
ben9809 committed Jul 18, 2024
1 parent 9c43aea commit 4d3e0c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Check with Black
run: |
poetry run black .
poetry run black --check .
- name: Check with docformatter
run: |
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ nehar = ["pytorch-lightning", "gdown"]
[tool.black]
exclude = '/neurobench/examples/'
line-length = 88
check = true

[tool.docformatter]
exclude = '/neurobench/examples/'
Expand Down

0 comments on commit 4d3e0c4

Please sign in to comment.