mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-02 17:31:08 +00:00
build.yml: Run mypy --ignore-missing-imports (#4276)
* build.yml: Run mypy --ignore-missing-imports * pip install mypy * Remove failing directories * Add fractals and drop python-m
This commit is contained in:
parent
89a43c81e5
commit
8d7ef6a7f5
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -20,7 +20,22 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools six wheel
|
python -m pip install --upgrade pip setuptools six wheel
|
||||||
python -m pip install 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
|
||||||
|
- run: mypy --ignore-missing-imports
|
||||||
|
backtracking
|
||||||
|
bit_manipulation
|
||||||
|
blockchain
|
||||||
|
boolean_algebra
|
||||||
|
cellular_automata
|
||||||
|
computer_vision
|
||||||
|
fractals
|
||||||
|
fuzzy_logic
|
||||||
|
genetic_algorithm
|
||||||
|
geodesy
|
||||||
|
knapsack
|
||||||
|
networking_flow
|
||||||
|
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…
Reference in New Issue
Block a user