Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Sep 16, 2023
1 parent 2b39335 commit 1e966b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ jobs:

- run: poetry install --no-interaction --no-root

- run: cd /home/runner/work/hknweb && ls && ls hknweb

- name: Run formatting check
run: |
cd /home/runner/work/hknweb && poetry run black . --check --exclude=.venv
run: poetry run black . --check

- name: Run unit tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.black]
exclude = '/(.*migrations)/'
extend-exclude = '(.*migrations)/'

[tool.coverage.run]
source = ["."]
Expand Down

0 comments on commit 1e966b1

Please sign in to comment.