This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
Bump mypy from 1.10.1 to 1.11.0 #29
Workflow file for this run
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: 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 . |