Commit 40ffcf8
committed
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.
This commit includes:
- The `longest_positive_streak` function in `streak.py`.
- A comprehensive pytest test suite in `tests/test_streak.py`.
- A GitHub Actions workflow (`.github/workflows/pytest.yml`) to run tests automatically.
- A `.gitignore` file to exclude Python cache and environment files.1 parent e7bcf97 commit 40ffcf8
0 file changed
0 commit comments