Skip to content

Commit 1dc6338

Browse files
committed
MAINT: Make CI happy
Ignores W503 as it now violates PEP8 and E226
1 parent 980e4b1 commit 1dc6338

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# stop the build if there are Python syntax errors or undefined names
2626
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2727
# The GitHub editor is 127 chars wide
28-
poetry run flake8 . --ignore=F401,F403 --count --max-complexity=10 --max-line-length=127 --statistics
28+
poetry run flake8 . --ignore=F401,F403,W503,E226 --count --max-complexity=10 --max-line-length=127 --statistics
2929
- name: Test with pytest
3030
run: |
3131
poetry run pytest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ numpydoc = "^1.5"
4747

4848

4949
[tool.poetry.group.lint.dependencies]
50-
flake8 = "^6.0"
50+
flake8 = "*"
5151

5252

5353
[build-system]

tests/test_financial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import numpy
77
from numpy.testing import (
88
assert_, assert_almost_equal, assert_allclose, assert_equal, assert_raises
9-
)
9+
)
1010
import pytest
1111

1212
import numpy_financial as npf

0 commit comments

Comments
 (0)