From f027a6bba82b554de56e207d55044e1bfe7e7678 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 10:15:06 +0200 Subject: [PATCH 01/16] Pytest the entire repo --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e67bd431a7c1..39c28d5fbc0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ before_script: - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics script: - mypy --ignore-missing-imports . - - pytest --doctest-modules ./ciphers ./other ./searches ./sorts ./strings + - pytest --doctest-modules after_success: - python ./~script.py - cat DIRECTORY.md From 1a57ceaddf18c5a483e6a5448fd3dbfe41d2918b Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 11:03:38 +0200 Subject: [PATCH 02/16] Do each directory for now... --- .travis.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 39c28d5fbc0d..1b866b48f352 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,31 @@ before_script: - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics script: - mypy --ignore-missing-imports . - - pytest --doctest-modules + - pytest --doctest-modules arithmetic_analysis # Added Whitespace and Docstring (#924) 8 days ago + - pytest --doctest-modules backtracking # minimax (#947) 2 days ago + - pytest --doctest-modules boolean_algebra # all valid python 3 9 months ago + - pytest --doctest-modules ciphers # Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago + - pytest --doctest-modules compression # Updated README 3 days ago + - pytest --doctest-modules conversions # added decimal to hexadecimal conversion (#977) 2 hours ago + - pytest --doctest-modules data_structures # Updated README 3 days ago + - pytest --doctest-modules digital_image_processing # convolve and sobel (#971) 16 hours ago + - pytest --doctest-modules divide_and_conquer # Fix readme and duplicate (#967) 3 days ago + - pytest --doctest-modules dynamic_programming # Adding sum of subsets (#929) 7 days ago + - pytest --doctest-modules file_transfer_protocol # reduce indentation (#741) 3 months ago + - pytest --doctest-modules graphs #Corrected wrong Dijkstra priority queue implementation (#909) 16 days ago + - pytest --doctest-modules hashes #added enigma machine algorithm (#932) 2 days ago + - pytest --doctest-modules linear_algebra_python #Update README.md 8 months ago + - pytest --doctest-modules machine_learning # Updated README 3 days ago + - pytest --doctest-modules maths #moved Unnecessary Assignment for 'error' Var (#920) 2 days ago + - pytest --doctest-modules matrix #Updated README 3 days ago + - pytest --doctest-modules networking_flow #snake_case all the things 9 months ago + - pytest --doctest-modules neural_network #Updated README 3 days ago + - pytest --doctest-modules other #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago + - pytest --doctest-modules project_euler #Project Euler Problem #13 Python Solution (#935) 16 hours ago + - pytest --doctest-modules searches #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago + - pytest --doctest-modules sorts #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago + - pytest --doctest-modules strings #add ons in string directory - Bayer_Moore_Search (#933) 7 days ago + - pytest --doctest-modules traversals after_success: - python ./~script.py - cat DIRECTORY.md From ee005321cc6ad905c4766e5a87376e94b4ea8366 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 11:08:58 +0200 Subject: [PATCH 03/16] YAML files hate tabs --- .travis.yml | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b866b48f352..96c421693c74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,30 +9,30 @@ before_script: script: - mypy --ignore-missing-imports . - pytest --doctest-modules arithmetic_analysis # Added Whitespace and Docstring (#924) 8 days ago - - pytest --doctest-modules backtracking # minimax (#947) 2 days ago - - pytest --doctest-modules boolean_algebra # all valid python 3 9 months ago - - pytest --doctest-modules ciphers # Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - - pytest --doctest-modules compression # Updated README 3 days ago - - pytest --doctest-modules conversions # added decimal to hexadecimal conversion (#977) 2 hours ago - - pytest --doctest-modules data_structures # Updated README 3 days ago - - pytest --doctest-modules digital_image_processing # convolve and sobel (#971) 16 hours ago - - pytest --doctest-modules divide_and_conquer # Fix readme and duplicate (#967) 3 days ago - - pytest --doctest-modules dynamic_programming # Adding sum of subsets (#929) 7 days ago - - pytest --doctest-modules file_transfer_protocol # reduce indentation (#741) 3 months ago - - pytest --doctest-modules graphs #Corrected wrong Dijkstra priority queue implementation (#909) 16 days ago - - pytest --doctest-modules hashes #added enigma machine algorithm (#932) 2 days ago - - pytest --doctest-modules linear_algebra_python #Update README.md 8 months ago - - pytest --doctest-modules machine_learning # Updated README 3 days ago - - pytest --doctest-modules maths #moved Unnecessary Assignment for 'error' Var (#920) 2 days ago - - pytest --doctest-modules matrix #Updated README 3 days ago - - pytest --doctest-modules networking_flow #snake_case all the things 9 months ago - - pytest --doctest-modules neural_network #Updated README 3 days ago - - pytest --doctest-modules other #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - - pytest --doctest-modules project_euler #Project Euler Problem #13 Python Solution (#935) 16 hours ago - - pytest --doctest-modules searches #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - - pytest --doctest-modules sorts #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - - pytest --doctest-modules strings #add ons in string directory - Bayer_Moore_Search (#933) 7 days ago - - pytest --doctest-modules traversals + - pytest --doctest-modules backtracking # minimax (#947) 2 days ago + - pytest --doctest-modules boolean_algebra # all valid python 3 9 months ago + - pytest --doctest-modules ciphers # Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago + - pytest --doctest-modules compression # Updated README 3 days ago + - pytest --doctest-modules conversions # added decimal to hexadecimal conversion (#977) 2 hours ago + - pytest --doctest-modules data_structures # Updated README 3 days ago + - pytest --doctest-modules digital_image_processing # convolve and sobel (#971) 16 hours ago + - pytest --doctest-modules divide_and_conquer # Fix readme and duplicate (#967) 3 days ago + - pytest --doctest-modules dynamic_programming # Adding sum of subsets (#929) 7 days ago + - pytest --doctest-modules file_transfer_protocol # reduce indentation (#741) 3 months ago + - pytest --doctest-modules graphs #Corrected wrong Dijkstra priority queue implementation (#909) 16 days ago + - pytest --doctest-modules hashes #added enigma machine algorithm (#932) 2 days ago + - pytest --doctest-modules linear_algebra_python #Update README.md 8 months ago + - pytest --doctest-modules machine_learning # Updated README 3 days ago + - pytest --doctest-modules maths #moved Unnecessary Assignment for 'error' Var (#920) 2 days ago + - pytest --doctest-modules matrix #Updated README 3 days ago + - pytest --doctest-modules networking_flow #snake_case all the things 9 months ago + - pytest --doctest-modules neural_network #Updated README 3 days ago + - pytest --doctest-modules other #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago + - pytest --doctest-modules project_euler #Project Euler Problem #13 Python Solution (#935) 16 hours ago + - pytest --doctest-modules searches #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago + - pytest --doctest-modules sorts #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago + - pytest --doctest-modules strings #add ons in string directory - Bayer_Moore_Search (#933) 7 days ago + - pytest --doctest-modules traversals after_success: - python ./~script.py - cat DIRECTORY.md From ff8f09a91e7f384b7d630f80dab663f33401da51 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 13:54:59 +0200 Subject: [PATCH 04/16] Add more requirements --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 30179ac345b3..e015434f55b5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,9 @@ black +cv2 flake8 matplotlib mypy numpy pytest +sympy +tensorflow From 9e5a37ded2fe2985a773b2bbea8b5604920e55bb Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 14:02:28 +0200 Subject: [PATCH 05/16] pip install opencv-python --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e015434f55b5..91da02d9fd0a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ black -cv2 flake8 matplotlib mypy numpy +opencv-python pytest sympy tensorflow From b71990952e53d6d659eeb6c127e07c91ee2387c8 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 14:27:37 +0200 Subject: [PATCH 06/16] Comment out FTP --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 96c421693c74..af6c68fe4762 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ script: - pytest --doctest-modules digital_image_processing # convolve and sobel (#971) 16 hours ago - pytest --doctest-modules divide_and_conquer # Fix readme and duplicate (#967) 3 days ago - pytest --doctest-modules dynamic_programming # Adding sum of subsets (#929) 7 days ago - - pytest --doctest-modules file_transfer_protocol # reduce indentation (#741) 3 months ago + #- pytest --doctest-modules file_transfer_protocol # reduce indentation (#741) 3 months ago - pytest --doctest-modules graphs #Corrected wrong Dijkstra priority queue implementation (#909) 16 days ago - pytest --doctest-modules hashes #added enigma machine algorithm (#932) 2 days ago - pytest --doctest-modules linear_algebra_python #Update README.md 8 months ago From 126ba0895dadcee018af8b0357568f13c70b3a3c Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 14:35:43 +0200 Subject: [PATCH 07/16] Add pandas and sklearn to requirements --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 91da02d9fd0a..91d3df33323d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,8 @@ matplotlib mypy numpy opencv-python +pandas pytest +sklearn sympy tensorflow From a143995d03eb9a3a94bc6acdf57c4070ec27d756 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 14:47:05 +0200 Subject: [PATCH 08/16] Comment out FTP, graphs, machine_learning, maths, neural_network, project_euler --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index af6c68fe4762..5af9e40b0df9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,16 +19,16 @@ script: - pytest --doctest-modules divide_and_conquer # Fix readme and duplicate (#967) 3 days ago - pytest --doctest-modules dynamic_programming # Adding sum of subsets (#929) 7 days ago #- pytest --doctest-modules file_transfer_protocol # reduce indentation (#741) 3 months ago - - pytest --doctest-modules graphs #Corrected wrong Dijkstra priority queue implementation (#909) 16 days ago + #- pytest --doctest-modules graphs #Corrected wrong Dijkstra priority queue implementation (#909) 16 days ago - pytest --doctest-modules hashes #added enigma machine algorithm (#932) 2 days ago - pytest --doctest-modules linear_algebra_python #Update README.md 8 months ago - - pytest --doctest-modules machine_learning # Updated README 3 days ago - - pytest --doctest-modules maths #moved Unnecessary Assignment for 'error' Var (#920) 2 days ago + #- pytest --doctest-modules machine_learning # Updated README 3 days ago + #- pytest --doctest-modules maths #moved Unnecessary Assignment for 'error' Var (#920) 2 days ago - pytest --doctest-modules matrix #Updated README 3 days ago - pytest --doctest-modules networking_flow #snake_case all the things 9 months ago - - pytest --doctest-modules neural_network #Updated README 3 days ago + #- pytest --doctest-modules neural_network #Updated README 3 days ago - pytest --doctest-modules other #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - - pytest --doctest-modules project_euler #Project Euler Problem #13 Python Solution (#935) 16 hours ago + #- pytest --doctest-modules project_euler #Project Euler Problem #13 Python Solution (#935) 16 hours ago - pytest --doctest-modules searches #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - pytest --doctest-modules sorts #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - pytest --doctest-modules strings #add ons in string directory - Bayer_Moore_Search (#933) 7 days ago From e5f7e989bb570cabc7e0c6ac44269a060816cb92 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 14:56:24 +0200 Subject: [PATCH 09/16] Update .travis.yml --- .travis.yml | 52 +++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5af9e40b0df9..410a8b770aa9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,31 +8,33 @@ before_script: - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics script: - mypy --ignore-missing-imports . - - pytest --doctest-modules arithmetic_analysis # Added Whitespace and Docstring (#924) 8 days ago - - pytest --doctest-modules backtracking # minimax (#947) 2 days ago - - pytest --doctest-modules boolean_algebra # all valid python 3 9 months ago - - pytest --doctest-modules ciphers # Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - - pytest --doctest-modules compression # Updated README 3 days ago - - pytest --doctest-modules conversions # added decimal to hexadecimal conversion (#977) 2 hours ago - - pytest --doctest-modules data_structures # Updated README 3 days ago - - pytest --doctest-modules digital_image_processing # convolve and sobel (#971) 16 hours ago - - pytest --doctest-modules divide_and_conquer # Fix readme and duplicate (#967) 3 days ago - - pytest --doctest-modules dynamic_programming # Adding sum of subsets (#929) 7 days ago - #- pytest --doctest-modules file_transfer_protocol # reduce indentation (#741) 3 months ago - #- pytest --doctest-modules graphs #Corrected wrong Dijkstra priority queue implementation (#909) 16 days ago - - pytest --doctest-modules hashes #added enigma machine algorithm (#932) 2 days ago - - pytest --doctest-modules linear_algebra_python #Update README.md 8 months ago - #- pytest --doctest-modules machine_learning # Updated README 3 days ago - #- pytest --doctest-modules maths #moved Unnecessary Assignment for 'error' Var (#920) 2 days ago - - pytest --doctest-modules matrix #Updated README 3 days ago - - pytest --doctest-modules networking_flow #snake_case all the things 9 months ago - #- pytest --doctest-modules neural_network #Updated README 3 days ago - - pytest --doctest-modules other #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - #- pytest --doctest-modules project_euler #Project Euler Problem #13 Python Solution (#935) 16 hours ago - - pytest --doctest-modules searches #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - - pytest --doctest-modules sorts #Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 17 hours ago - - pytest --doctest-modules strings #add ons in string directory - Bayer_Moore_Search (#933) 7 days ago - - pytest --doctest-modules traversals + - pytest --doctest-modules + arithmetic_analysis + backtracking + boolean_algebra + ciphers + compression + conversions + data_structures + digital_image_processing + divide_and_conquer + dynamic_programming + hashes + linear_algebra_python + matrix + networking_flow + other + searches + sorts + strings + traversals + # The following directories need fixes... python3 -m doctest -v . + #- pytest --doctest-modules file_transfer_protocol + #- pytest --doctest-modules graphs + #- pytest --doctest-modules machine_learning + #- pytest --doctest-modules maths + #- pytest --doctest-modules neural_network + #- pytest --doctest-modules project_euler after_success: - python ./~script.py - cat DIRECTORY.md From 9e74ac8cee14a7a5c43cdd8e19ff2d6d25390ad1 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 17:56:25 +0200 Subject: [PATCH 10/16] Comment out Data structures --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 410a8b770aa9..99edeb9d17c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,6 @@ script: ciphers compression conversions - data_structures digital_image_processing divide_and_conquer dynamic_programming @@ -29,6 +28,7 @@ script: strings traversals # The following directories need fixes... python3 -m doctest -v . + #- pytest --doctest-modules data_structures #- pytest --doctest-modules file_transfer_protocol #- pytest --doctest-modules graphs #- pytest --doctest-modules machine_learning From 36f0d56284e01f88a78888c0e7ad280101cf80c4 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 18:02:19 +0200 Subject: [PATCH 11/16] if __name__ == "__main__": --- .../longest_increasing_subsequence_O(nlogn).py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dynamic_programming/longest_increasing_subsequence_O(nlogn).py b/dynamic_programming/longest_increasing_subsequence_O(nlogn).py index 21122a04d69f..86bec089adc7 100644 --- a/dynamic_programming/longest_increasing_subsequence_O(nlogn).py +++ b/dynamic_programming/longest_increasing_subsequence_O(nlogn).py @@ -37,5 +37,6 @@ def LongestIncreasingSubsequenceLength(v): return length -v = [2, 5, 3, 7, 11, 8, 10, 13, 6] -print(LongestIncreasingSubsequenceLength(v)) +if __name__ == "__main__": + v = [2, 5, 3, 7, 11, 8, 10, 13, 6] + print(LongestIncreasingSubsequenceLength(v)) From 54ffddec1dc90805b215dfd02e6551853531df6c Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 18:47:54 +0200 Subject: [PATCH 12/16] pytest --ignore= --- .travis.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.travis.yml b/.travis.yml index 99edeb9d17c8..e7c50ebb2618 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,32 +9,7 @@ before_script: script: - mypy --ignore-missing-imports . - 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 - # The following directories need fixes... python3 -m doctest -v . - #- pytest --doctest-modules data_structures - #- pytest --doctest-modules file_transfer_protocol - #- pytest --doctest-modules graphs - #- pytest --doctest-modules machine_learning - #- pytest --doctest-modules maths - #- pytest --doctest-modules neural_network - #- pytest --doctest-modules project_euler + --ignore=data_structures,file_transfer_protocol,graphs,machine_learning,maths,neural_network,project_euler after_success: - python ./~script.py - cat DIRECTORY.md From ec465bd4827ea64edb1561100ab74e5aae8931f3 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 18:54:41 +0200 Subject: [PATCH 13/16] pytest . --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e7c50ebb2618..5c4cf137f1af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ before_script: - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics script: - mypy --ignore-missing-imports . - - pytest --doctest-modules + - pytest . --doctest-modules --ignore=data_structures,file_transfer_protocol,graphs,machine_learning,maths,neural_network,project_euler after_success: - python ./~script.py From d0bac895c2ab364db6d60df1e97deca7e4ed50ea Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 18:57:47 +0200 Subject: [PATCH 14/16] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 5c4cf137f1af..aebadbaa176f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python dist: xenial # required for Python >= 3.7 python: 3.7 cache: pip +before_install: pip install --upgrade pip setuptools install: pip install -r requirements.txt before_script: - black --check . || true From 4e12434ae8805ee51ce1c122b7541fff39366f64 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 21:04:41 +0200 Subject: [PATCH 15/16] pytest . --doctest-modules --ignore=${IGNORE} --- .travis.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index aebadbaa176f..f6dc5d88230e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,28 @@ before_script: - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics script: - mypy --ignore-missing-imports . - - pytest . --doctest-modules - --ignore=data_structures,file_transfer_protocol,graphs,machine_learning,maths,neural_network,project_euler + - 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 + after_success: - python ./~script.py - cat DIRECTORY.md From d7536a31da8c6e56149ec5fa774380b5e8190339 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 9 Jul 2019 21:15:48 +0200 Subject: [PATCH 16/16] Ignore --ignore because it just hangs --- .travis.yml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index f6dc5d88230e..0e35fd084268 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,27 +9,27 @@ before_script: - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics script: - mypy --ignore-missing-imports . - - 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 + #- 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 after_success: - python ./~script.py