Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Merge pull request #9 from josh/dependabot/pip/ruff-0.5.3 #28

Merge pull request #9 from josh/dependabot/pip/ruff-0.5.3

Merge pull request #9 from josh/dependabot/pip/ruff-0.5.3 #28

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 .