Skip to content

MAINT: Update testing (use Black, Ruff, precommit hook) #90

MAINT: Update testing (use Black, Ruff, precommit hook)

MAINT: Update testing (use Black, Ruff, precommit hook) #90

Workflow file for this run

name: Style, Spellcheck, & Docstring
on: pull_request
jobs:
style:
name: Style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
python-version: "3.11"
- uses: psf/black@stable
- uses: pre-commit/[email protected]
- name: Install dependencies
run: pip install -r requirements_testing.txt
# Run Ruff
- name: Run Ruff
run: ruff pylossless
# Run Codespell
- name: Run Codespell
run: codespell pylossless docs