We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b1e774 commit c676b78Copy full SHA for c676b78
1 file changed
.github/workflows/main.yml
@@ -6,9 +6,7 @@ jobs:
6
build-test:
7
runs-on: ${{ matrix.os }}
8
strategy:
9
- matrix:
10
- os: [windows-latest, ubuntu-latest]
11
- python-version: [3.7, 3.8, 3.9]
+ matrix: os: [windows-latest, ubuntu-latest] python-version: [3.7, 3.8, 3.9]
12
defaults:
13
run:
14
shell: bash
@@ -31,7 +29,13 @@ jobs:
31
29
- name: Format check with black
32
30
run: poetry run black --check .
33
- name: Typecheck with mypy
34
- run: poetry run mypy -p baidupcs_py --ignore-missing-imports --warn-unreachable
+ run: |
+ mypy -p baidupcs_py \
+ --ignore-missing-imports \
35
+ --warn-unreachable \
36
+ --implicit-optional \
37
+ --allow-redefinition \
38
+ --disable-error-code abstract
39
- name: Test with pytest
40
run: |
41
poetry run python build.py build_ext --inplace
0 commit comments