add changes from 2026_p5 #76
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
| # Run the linters with a baseline | |
| name: FlakeHell | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| python-version: [3.7, 3.8, 3.9] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Poetry | |
| uses: abatilo/actions-poetry@v2.0.0 | |
| with: | |
| poetry-version: 1.1.11 | |
| - name: Disable vitual envs | |
| run: poetry config virtualenvs.create false | |
| - name: Install dependencies | |
| run: poetry install | |
| - name: Run FlakeHell | |
| run: flakehell lint |