Skip to content

Commit

Permalink
Use typing deps group for mypy linting job
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed May 22, 2024
1 parent dc0b87e commit fcacf72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
# Install project with Poetry if supported, so we can benefits from dependencies on typing stubs.
if: fromJSON(needs.project-metadata.outputs.is_poetry_project)
run: |
poetry install --no-interaction
poetry install --with typing --no-interaction
- name: Install dependencies with pip
if: ${{ ! fromJSON(needs.project-metadata.outputs.is_poetry_project) }}
run: >
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
This version is not released yet and is under active development.
```

- Requires typing dependencies to be set in a `typing` group in `pyproject.toml`.

## [3.5.0 (2024-05-22)](https://github.com/kdeldycke/workflows/compare/v3.4.7...v3.5.0)

- Requires Sphinx dependencies to be set in a `docs` group in `pyproject.toml`.
Expand Down

0 comments on commit fcacf72

Please sign in to comment.