mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
mypy: Use a --exclude list (#4296)
* mypy: Use a --exclude list * Graphics works on my machine * A few more... * A few more... * Update build.yml
This commit is contained in:
parent
35901eb6fe
commit
c22c7d503b
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -21,29 +21,9 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools six wheel
|
||||
python -m pip install mypy pytest-cov -r requirements.txt
|
||||
# FIXME: #4052 fix mypy errors in other directories and add them here
|
||||
# FIXME: #4052 fix mypy errors in the exclude directories and remove them below
|
||||
- run: mypy --ignore-missing-imports
|
||||
backtracking
|
||||
bit_manipulation
|
||||
blockchain
|
||||
boolean_algebra
|
||||
cellular_automata
|
||||
compression
|
||||
computer_vision
|
||||
divide_and_conquer
|
||||
electronics
|
||||
file_transfer
|
||||
fractals
|
||||
fuzzy_logic
|
||||
genetic_algorithm
|
||||
geodesy
|
||||
knapsack
|
||||
machine_learning
|
||||
networking_flow
|
||||
neural_network
|
||||
quantum
|
||||
scheduling
|
||||
sorts
|
||||
--exclude '(arithmetic_analysis|ciphers|conversions|data_structures|digital_image_processing|dynamic_programming|graphs|hashes|linear_algebra|maths|matrix|other|project_euler|scripts|searches|strings|web_programming*)/$' .
|
||||
- name: Run tests
|
||||
run: pytest --doctest-modules --ignore=project_euler/ --ignore=scripts/ --cov-report=term-missing:skip-covered --cov=. .
|
||||
- if: ${{ success() }}
|
||||
|
Loading…
Reference in New Issue
Block a user