Skip to content

Lazy imports

Lazy imports #39

Workflow file for this run

name: Format and Lint
on:
pull_request:
branches: [main]
workflow_dispatch:
workflow_call:
permissions: {}
jobs:
lint-python:
name: Format and Lint Python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
with:
enable-cache: "true"
- name: Run Ruff
run: uv run ruff check . --output-format=github
- name: Ruff format
run: uv run ruff format . --check
lint-docs:
name: Lint Markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Markdown Lint base-files
uses: DavidAnson/markdownlint-cli2-action@21c1be1b93ad9ed58fa840aacc3f279cde2a72ff # v24.2.0
with:
globs: |
*.md
.github/**/*.md
config: ./.markdownlint.json
# - name: Markdown Lint Docs
# uses: DavidAnson/markdownlint-cli2-action@v20
# with:
# globs: docs/**/*.md
# config: docs/.markdownlint.json