Fixed CI/CD workflow for issue #182 / #232 (#254)

* updated the CI/CD workflow so it works

* fixing typos

* changed the branch name for the CI pull request

* fixing PEP8 issues inside binary_search.py

* removed venv from flask8 local testing

* fixing executable permissions
This commit is contained in:
Lewis Brogan authored and GitHub committed 2022-06-27 10:20:27 +03:00
1 parent 080c538614
commit 84640e8eee
2 files changed
+7 -13

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ def binary_search(arr: List[int], lb: int, ub: int, target: int) -> int:
A Binary Search Example which has O(log n) time complexity.
"""
if lb <= ub:
mid: int = lb + (ub -lb)// 2
mid: int = lb + (ub - lb) // 2
if arr[mid] == target:
return mid
elif arr[mid] < target: