Add pylint configuration, fix linting issues, and update CI pipeline for Python #5
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: mypy | |
on: [pull_request] | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install mypy | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y python3-pip | |
pip3 install mypy | |
- name: Run mypy type checking | |
run: | | |
mypy . --explicit-package-bases |