Skip to content

Documentation improvements (#7) #15

Documentation improvements (#7)

Documentation improvements (#7) #15

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Ruff Lint & Format
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python with uv
uses: astral-sh/setup-uv@v4
with:
python-version: "3.11"
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- name: Install dependencies
run: uv sync --extra dev
- name: Run Ruff linter
run: uv run ruff check solarfarmer/ tests/ --output-format=github
- name: Run Ruff formatter check
run: uv run ruff format --check solarfarmer/ tests/