Skip to content

Commit

Permalink
Only install deptry via pip in deptry workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Jun 13, 2024
1 parent 2f060b7 commit 9b3c4d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deptry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
init-shell: bash
cache-environment: true
post-cleanup: "all"
- name: Install pytensor and mypy dependencies
- name: Install pytensor and deptry dependencies
run: |
pip install -e .
pip install -e . deptry

This comment has been minimized.

Copy link
@ricardoV94

ricardoV94 Jun 13, 2024

Member

Nit-question: Will this install deptry in editable mode. Even if so, it may not matter, but perhaps a separate pip install is also fine?

This comment has been minimized.

Copy link
@maresb

maresb Jun 13, 2024

Author Contributor

Good call, done

python --version
shell: micromamba-shell {0}
- name: Run deptry
Expand Down
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ dependencies:
- pytest-xdist
- pytest-benchmark
- pytest-mock
- deptry
# For building docs
- sphinx>=5.1.0,<6
- sphinx_rtd_theme
Expand Down

0 comments on commit 9b3c4d8

Please sign in to comment.