Skip to content

Commit 5a6f4cd

Browse files
committed
Disable annotation-unchecked at windows
1 parent bbf724a commit 5a6f4cd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
- name: Format check with black
3232
run: poetry run black --check .
3333
- name: Typecheck with mypy at Windows
34-
- if: matrix.os == 'windows-latest'
35-
run: poetry run mypy -p baidupcs_py --ignore-missing-imports --warn-unreachable --implicit-optional --allow-redefinition --disable-error-code abstract annotation-unchecked
34+
run: poetry run mypy -p baidupcs_py --ignore-missing-imports --warn-unreachable --implicit-optional --allow-redefinition --disable-error-code abstract annotation-unchecked
35+
if: matrix.os == 'windows-latest'
3636
- name: Typecheck with mypy at Linux
37-
- if: matrix.os == 'ubuntu-latest'
38-
run: poetry run mypy -p baidupcs_py --ignore-missing-imports --warn-unreachable --implicit-optional --allow-redefinition --disable-error-code abstract
37+
run: poetry run mypy -p baidupcs_py --ignore-missing-imports --warn-unreachable --implicit-optional --allow-redefinition --disable-error-code abstract
38+
if: matrix.os == 'ubuntu-latest'
3939
- name: Test with pytest
4040
run: |
4141
poetry run python build.py build_ext --inplace

0 commit comments

Comments
 (0)