Add basic linters #1
This file contains hidden or 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: Linters | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Python Setup | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: 3.13 | |
| - name: Install libraries | |
| run: | | |
| pip install -e .[development] | |
| - name: mypy | |
| run: mypy ./src | |
| - name: ruff | |
| run: ruff check . | |
| - name: flake8 | |
| run: flake8 . |