mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-27 00:46:43 +00: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: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools six wheel
|
python -m pip install --upgrade pip setuptools six wheel
|
||||||
python -m pip install mypy pytest-cov -r requirements.txt
|
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
|
- run: mypy --ignore-missing-imports
|
||||||
backtracking
|
--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*)/$' .
|
||||||
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
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest --doctest-modules --ignore=project_euler/ --ignore=scripts/ --cov-report=term-missing:skip-covered --cov=. .
|
run: pytest --doctest-modules --ignore=project_euler/ --ignore=scripts/ --cov-report=term-missing:skip-covered --cov=. .
|
||||||
- if: ${{ success() }}
|
- if: ${{ success() }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user