2017-11-24 23:10:39 +00:00
|
|
|
language: python
|
2019-07-03 07:21:03 +00:00
|
|
|
dist: xenial # required for Python >= 3.7
|
|
|
|
python: 3.7
|
2019-07-08 15:27:51 +00:00
|
|
|
cache: pip
|
2019-07-10 04:59:39 +00:00
|
|
|
before_install: pip install --upgrade pip setuptools
|
2019-07-08 15:27:51 +00:00
|
|
|
install: pip install -r requirements.txt
|
|
|
|
before_script:
|
|
|
|
- black --check . || true
|
|
|
|
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
|
|
script:
|
|
|
|
- mypy --ignore-missing-imports .
|
2019-07-10 04:59:39 +00:00
|
|
|
#- IGNORE="data_structures,file_transfer_protocol,graphs,machine_learning,maths,neural_network,project_euler"
|
|
|
|
#- pytest . --doctest-modules --ignore=${IGNORE}
|
|
|
|
- pytest --doctest-modules
|
|
|
|
arithmetic_analysis
|
|
|
|
backtracking
|
|
|
|
boolean_algebra
|
|
|
|
ciphers
|
|
|
|
compression
|
|
|
|
conversions
|
|
|
|
digital_image_processing
|
|
|
|
divide_and_conquer
|
|
|
|
dynamic_programming
|
|
|
|
hashes
|
|
|
|
linear_algebra_python
|
|
|
|
matrix
|
|
|
|
networking_flow
|
|
|
|
other
|
|
|
|
searches
|
|
|
|
sorts
|
|
|
|
strings
|
|
|
|
traversals
|
|
|
|
|
2019-07-08 15:27:51 +00:00
|
|
|
after_success:
|
|
|
|
- python ./~script.py
|
|
|
|
- cat DIRECTORY.md
|