2024-07-02 06:54:40 +00:00
|
|
|
name: Lint
|
2024-04-17 19:54:16 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
branches: [main]
|
|
|
|
|
2024-07-02 06:54:40 +00:00
|
|
|
|
2024-04-17 19:54:16 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
2024-07-02 06:54:40 +00:00
|
|
|
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
|
|
|
|
|
2024-04-17 19:54:16 +00:00
|
|
|
codespell:
|
|
|
|
name: Check for spelling errors
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Codespell
|
|
|
|
uses: codespell-project/actions-codespell@v2
|