Skip to content

Commit

Permalink
Install mypy with poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
reweeden committed Jan 31, 2025
1 parent 8415581 commit bba41a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,11 @@ jobs:
python-version: 3.9

- run: |
pip install \
mypy==1.14.1 \
boto3-stubs \
h5py==3.6.0 \
jsonpath_ng==1.4.1 \
s3fs==0.4.2
pip install poetry
poetry install --with=mypy
- run: |
mypy \
poetry run mypy \
--non-interactive \
--install-types \
--check-untyped-defs \
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ pytest = "^8.0.2"
pytest-cov = "^4.0.0"
pytest-mock = "^3.8.2"

[tool.poetry.group.mypy.dependencies]
mypy = "^1.14.1"
boto3-stubs = "^1.36.10"


[tool.pytest.ini_options]
markers = [
Expand Down

0 comments on commit bba41a7

Please sign in to comment.