ytmusicapi/.github/workflows/lint.yml
sigma67 dcddfa562b
fix #504 (#506)
* run mypy on 3.8

* fix #504
2024-01-06 10:02:25 +01:00

25 lines
525 B
YAML

name: lint
on:
pull_request:
branches:
- main
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
- uses: chartboost/ruff-action@v1
with:
args: format --check
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.8"
- run: pip install mypy==1.8.0
- run: mypy --install-types --non-interactive