Skip to content

Commit 0636343

Browse files
authored
mypy: Use a --exclude list (TheAlgorithms#4296)
* mypy: Use a --exclude list * Graphics works on my machine * A few more... * A few more... * Update build.yml
1 parent 2ffcc9f commit 0636343

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

Diff for: .github/workflows/build.yml

+2-22
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,9 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip setuptools six wheel
2323
python -m pip install mypy pytest-cov -r requirements.txt
24-
# FIXME: #4052 fix mypy errors in other directories and add them here
24+
# FIXME: #4052 fix mypy errors in the exclude directories and remove them below
2525
- run: mypy --ignore-missing-imports
26-
backtracking
27-
bit_manipulation
28-
blockchain
29-
boolean_algebra
30-
cellular_automata
31-
compression
32-
computer_vision
33-
divide_and_conquer
34-
electronics
35-
file_transfer
36-
fractals
37-
fuzzy_logic
38-
genetic_algorithm
39-
geodesy
40-
knapsack
41-
machine_learning
42-
networking_flow
43-
neural_network
44-
quantum
45-
scheduling
46-
sorts
26+
--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*)/$' .
4727
- name: Run tests
4828
run: pytest --doctest-modules --ignore=project_euler/ --ignore=scripts/ --cov-report=term-missing:skip-covered --cov=. .
4929
- if: ${{ success() }}

0 commit comments

Comments
 (0)