Skip to content

Commit

Permalink
Migrate mypy lint to use Github Action (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jashparekh authored Dec 5, 2021
1 parent b856151 commit 2f03424
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v2.4.0
- uses: actions/setup-python@v2.3.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
requirements: "true"
test-requirements: "true"

- name: Run mypy
run: mypy plugin_scripts/deploy.py tests/test_deploy.py
uses: jashparekh/mypy-action@v2
with:
path: "plugin_scripts/deploy.py tests/test_deploy.py"
requirement_files: "plugin_scripts/requirements.lock"

0 comments on commit 2f03424

Please sign in to comment.