Skip to content

Commit

Permalink
Chore: Analyze dependency and imports using deptry (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers authored Dec 4, 2024
1 parent ccc5c6a commit fa505de
Show file tree
Hide file tree
Showing 3 changed files with 680 additions and 707 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/python_pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,25 @@ jobs:
with:
name: py${{ matrix.python-version }}-${{ matrix.os }}-test-coverage
path: htmlcov/

dependency-analysis:
name: Dependency Analysis with Deptry
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Set up Poetry
uses: Gr1N/setup-poetry@v9
with:
poetry-version: "1.7.1"
- name: Install dependencies
run: poetry install

# Job-specific step(s):
- name: Run Deptry
run: |
poetry run deptry .
Loading

0 comments on commit fa505de

Please sign in to comment.