Merge pull request #390 from capocchi/version-5.1 #67
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: Code Quality Check | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| lint: | |
| name: Run Flake8 and mypy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.13' # Ajuste selon ton projet | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install flake8 mypy | |
| - name: Run Flake8 | |
| run: flake8 . | |
| - name: Run mypy | |
| run: mypy . |