Skip to content

style: fix formatting issues using ruff #10

style: fix formatting issues using ruff

style: fix formatting issues using ruff #10

Workflow file for this run

name: Lint
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main"]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Install dev dependencies
run: pip install -e ".[dev]"
- name: Ruff lint
run: python -m ruff check src/ tests/
- name: Ruff format check
run: python -m ruff format --check src/ tests/
- name: MyPy type check
run: python -m mypy src/spring2shell/