File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 21
21
run : |
22
22
python -m pip install --upgrade pip setuptools six wheel
23
23
python -m pip install mypy pytest-cov -r requirements.txt
24
- - run : mypy --install-types --non-interactive .
24
+ - run : mypy . # See `mypy.ini` for configuration settings .
25
25
- name : Run tests
26
26
run : pytest --doctest-modules --ignore=project_euler/ --ignore=scripts/validate_solutions.py --cov-report=term-missing:skip-covered --cov=. .
27
27
- if : ${{ success() }}
Original file line number Diff line number Diff line change 1
1
[mypy]
2
2
ignore_missing_imports = True
3
+ install_types = True
4
+ non_interactive = True
5
+ exclude = (data_structures/stacks/next_greater_element.py|graphs/boruvka.py|graphs/breadth_first_search.py|graphs/breadth_first_search_2.py|graphs/check_cycle.py|graphs/finding_bridges.py|graphs/greedy_min_vertex_cover.py|graphs/random_graph_generator.py|maths/average_mode.py|maths/gamma_recursive.py|maths/proth_number.py|maths/series/geometric_series.py|maths/series/p_series.py|matrix_operation.py|other/fischer_yates_shuffle.py|other/least_recently_used.py|other/lfu_cache.py|other/lru_cache.py|searches/simulated_annealing.py|searches/ternary_search.py)
3
6
4
- ; FIXME: #4052 fix mypy errors in the exclude directories and remove them below
5
- exclude = (data_structures|graphs|maths|matrix|other|searches)/$
You can’t perform that action at this time.
0 commit comments