Skip to content

build: Add mypy linting, add step names #22

build: Add mypy linting, add step names

build: Add mypy linting, add step names #22

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
black:
name: Black
runs-on: ubuntu-latest
steps:
- 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/