Add codespell support (config, workflow to detect/not fix) and make it fix few typos #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
permissions: read-all | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Setup Python 🔧 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox | |
run: pip install tox | |
- name: Test 🔍 | |
run: tox -e py$(echo ${{ matrix.python }} | tr -d .) | |
pep8: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Setup Python 🔧 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install tox | |
run: pip install tox | |
- name: Test 🔍 | |
run: tox -e pep8 |