Add pylint configuration, fix linting issues, and update CI pipeline for Python #4
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: codespell | |
on: [pull_request] | |
jobs: | |
codespell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install codespell | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y codespell | |
- name: Run codespell to fix spelling mistakes | |
run: | | |
codespell -w . | |
- name: Commit codespell changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: Codespell Robot | |
author_email: [email protected] | |
message: "Committing codespell fixes" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |