Skip to content

Commit 072489d

Browse files
feat: Implement longest_positive_streak function
Implements the `longest_positive_streak` function to find the length of the longest run of consecutive positive numbers in a list. Also includes: - A comprehensive pytest test suite in `tests/test_streak.py`. - A GitHub Actions workflow (`.github/workflows/pytest.yml`) to run tests automatically on push and pull requests. - A `.gitignore` file to exclude Python cache files.
1 parent afcdd2b commit 072489d

2 files changed

File tree

__pycache__/streak.cpython-312.pyc

-733 Bytes
Binary file not shown.
-10 KB
Binary file not shown.

0 commit comments

Comments
 (0)