Conformance suite: rewrite directives_version_platform.py to not assume that type checkers will ignore all errors in unreachable code
#1729
Workflow file for this run
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: Test and lint | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| linting: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python 3 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3 | |
| cache: "pip" | |
| cache-dependency-path: "test-requirements.txt" | |
| - name: Install dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install -r test-requirements.txt | |
| - name: Lint implementation | |
| run: flake8 |