Add new route to plot rainfall by year #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MyPy | |
on: push | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ "3.12" ] | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install mypy | |
run: pip install mypy | |
- name: Install stubs | |
run: mypy --install-types --non-interactive --cache-dir=mypy_cache/ . | |
- name: Run mypy | |
uses: sasanquaneuf/mypy-github-action@releases/v1 | |
with: | |
checkName: 'mypy' # NOTE: this needs to be the same as the job name | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |