Skip to content

Commit bbf0bc9

Browse files
cclaussshermanhui
authored andcommitted
build.yml: Run mypy --ignore-missing-imports (TheAlgorithms#4276)
* build.yml: Run mypy --ignore-missing-imports * pip install mypy * Remove failing directories * Add fractals and drop python-m
1 parent f75ca2c commit bbf0bc9

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/build.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,22 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip setuptools six wheel
23-
python -m pip install pytest-cov -r requirements.txt
23+
python -m pip install mypy pytest-cov -r requirements.txt
24+
# FIXME: #4052 fix mypy errors in other directories and add them here
25+
- run: mypy --ignore-missing-imports
26+
backtracking
27+
bit_manipulation
28+
blockchain
29+
boolean_algebra
30+
cellular_automata
31+
computer_vision
32+
fractals
33+
fuzzy_logic
34+
genetic_algorithm
35+
geodesy
36+
knapsack
37+
networking_flow
38+
scheduling sorts
2439
- name: Run tests
2540
run: pytest --doctest-modules --ignore=project_euler/ --ignore=scripts/ --cov-report=term-missing:skip-covered --cov=. .
2641
- if: ${{ success() }}

0 commit comments

Comments
 (0)