Skip to content

Commit

Permalink
Merge branch 'workflow_fixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
ajakubek committed Aug 29, 2024
2 parents c47a598 + c603477 commit 139fd09
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
Expand All @@ -38,6 +38,9 @@ jobs:
flake8 tests --count --select=E9,F63,F7 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 tests --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Install package
run: |
python -m pip install .
- name: Test with pytest
run: |
pytest
1 change: 0 additions & 1 deletion src/dllist.c
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,6 @@ static PyObject* dllistiterator_new(PyTypeObject* type,
static DLListNodeObject* dllistiterator_advance(PyObject* self)
{
DLListIteratorObject* iter_self = (DLListIteratorObject*)self;
PyObject* value;

if (iter_self->current_node == NULL)
{
Expand Down
1 change: 0 additions & 1 deletion src/sllist.c
Original file line number Diff line number Diff line change
Expand Up @@ -1761,7 +1761,6 @@ static PyObject* sllistiterator_new(PyTypeObject* type,
static SLListNodeObject* sllistiterator_advance(PyObject* self)
{
SLListIteratorObject* iter_self = (SLListIteratorObject*)self;
PyObject* value;

if (iter_self->current_node == NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/speed_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __enter__(self):

def __exit__(self, *exc_details):
stop_time = time.time()
assert(self._start_time is not None)
assert self._start_time is not None
self.elapsed += stop_time - self._start_time


Expand Down

0 comments on commit 139fd09

Please sign in to comment.