directives_type_checking.py: do not assert that type checkers must ignore all type errors in if not TYPE_CHECKING blocks
#1756
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 |