Skip to content

Exclude currently watching #35

Exclude currently watching

Exclude currently watching #35

Workflow file for this run

name: Lint
on: push
jobs:
ruff:
runs-on: ubuntu-latest
env:
RUFF_OUTPUT_FORMAT: github
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Install uv
run: pipx install uv
- name: Install ruff
run: |
uv pip install --system --constraint requirements.txt ruff
- name: Ruff Formatter
run: ruff format --diff .
- name: Ruff Linter
run: ruff check .
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Install uv
run: pipx install uv
- name: Install dependencies
run: |
uv pip install --system --requirement requirements.txt
- name: mypy
run: mypy .