Enable pyright's reportUnnecessaryTypeIgnoreComment setting for the whole test_cases directory (#8683)

This commit is contained in:
Alex Waygood
2022-09-05 14:20:04 +01:00
committed by GitHub
parent 3a397a2252
commit fd4feba2c9
10 changed files with 62 additions and 19 deletions

View File

@@ -105,6 +105,13 @@ jobs:
python-platform: ${{ matrix.python-platform }}
python-version: ${{ matrix.python-version }}
no-comments: ${{ matrix.python-version != '3.10' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
project: ./pyrightconfig.testcases.json
- uses: jakebailey/pyright-action@v1
with:
version: ${{ env.PYRIGHT_VERSION }}
python-platform: ${{ matrix.python-platform }}
python-version: ${{ matrix.python-version }}
no-comments: ${{ matrix.python-version != '3.10' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
stubtest-third-party:
name: Check third party stubs with stubtest