Add ruff and black checks, combine with codespell

This commit is contained in:
sneakers-the-rat 2024-07-01 23:54:40 -07:00
parent f50275473c
commit 2c717ea7e5
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -1,17 +1,29 @@
# Codespell configuration is within pyproject.toml
---
name: Codespell
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
ruff:
name: Ruff Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
black:
name: Black Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest