Skip to content

Commit

Permalink
Add poetry-check hook. (#89)
Browse files Browse the repository at this point in the history
* Add poetry hooks

* Remove unused dependency and update pytest configuration

* Make poetry lock hook verbose

* Remove poetry lock hook
  • Loading branch information
ReinderVosDeWael authored Dec 22, 2023
1 parent 415f830 commit 979f432
Show file tree
Hide file tree
Showing 4 changed files with 212 additions and 229 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install poetry
poetry install -E docs
poetry install --with docs
- name: Build docs
run: |
APP_MODULE_NAME=$(ls src -U | head -1) # Get the first module name in the src directory
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
fail_fast: false

repos:
- repo: https://github.com/python-poetry/poetry
rev: 1.7.1
hooks:
- id: poetry-check

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.8
hooks:
Expand Down
Loading

0 comments on commit 979f432

Please sign in to comment.