Skip to content

Commit

Permalink
build: Add mypy linting, add step names
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroWave022 committed Jun 30, 2023
1 parent 22668aa commit 7c3d4d1
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,26 @@ jobs:
name: Black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
- name: Checkout
uses: actions/checkout@v3
- name: Run Black
uses: psf/black@stable
with:
options: "--check --verbose"
src: "."
mypy:
name: Mypy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install mypy
run: |
pip install mypy
- name: Run mypy
run: |
mypy yr_weather/

0 comments on commit 7c3d4d1

Please sign in to comment.