Skip to content

dump_contexts_to_log: runs-on: ubuntu-24.04 #193

dump_contexts_to_log: runs-on: ubuntu-24.04

dump_contexts_to_log: runs-on: ubuntu-24.04 #193

# This Action uses minimal steps to run in ~5 seconds to rapidly:
# look for typos in the codebase using codespell, and
# lint Python code using ruff and provide intuitive GitHub Annotations to contributors.
# https://github.com/codespell-project/codespell#readme
# https://docs.astral.sh/ruff/
name: codespell_and_ruff
on:
push:
# branches: [main, master]
pull_request:
# branches: [main, master]
jobs:
codespell_and_ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install --user codespell[toml] ruff
- run: codespell || true # --ignore-words-list="" --skip="*.css,*.js,*.lock,*.po"
- run: ruff check --output-format=github --select=E9,F63,F7 --target-version=py38 .
- run: ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py38 .
- run: ruff check --output-format=github --line-length=200 --target-version=py38 .
- run: ruff check --output-format=github --target-version=py38 .
- run: ruff check --output-format=github