This repository was archived by the owner on Jun 28, 2026. It is now read-only.
Add script to copy code from ChatGPT into files #4
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
| # Python-Boilerplate/.github/workflows/lint.yml | |
| name: lint | |
| on: | |
| push: | |
| branches: ['**'] | |
| pull_request: | |
| jobs: | |
| lint-and-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install Poetry | |
| uses: abatilo/actions-poetry@v3 | |
| with: | |
| poetry-version: '1.8.4' | |
| - name: Install dependencies | |
| run: poetry install | |
| - name: Check pyproject | |
| run: poetry check | |
| - name: Run pre-commit | |
| run: poetry run pre-commit run --all-files | |
| - name: Run tests | |
| run: poetry run pytest |