* chore: Update pdm.lock * bump lock and actions --------- Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com> Co-authored-by: sigma67 <sigma67.github@gmail.com>
31 lines
640 B
YAML
31 lines
640 B
YAML
name: lint
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- ytmusicapi/**
|
|
- tests/**
|
|
|
|
jobs:
|
|
ruff:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: chartboost/ruff-action@v1
|
|
with:
|
|
version: 0.8.3
|
|
- uses: chartboost/ruff-action@v1
|
|
with:
|
|
version: 0.8.3
|
|
args: format --check
|
|
mypy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.9"
|
|
- run: pip install mypy==1.13.0
|
|
- run: mypy --install-types --non-interactive
|