M Makefile => Makefile +2 -1
@@ 33,8 33,9 @@ clean-caches:
rm -fr htmlcov/
lint:
- flake8 lttb tests
+ flake8 src tests
black --check .
+ isort --check src tests
test:
pytest -n 2
M requirements-dev.txt => requirements-dev.txt +1 -0
@@ 3,6 3,7 @@ coverage
flake8
flake8-bugbear
hypothesis[numpy]
+isort
pytest
pytest-xdist
tox
M tests/test_lttb.py => tests/test_lttb.py +2 -1
@@ 1,8 1,9 @@
-import lttb
import numpy as np
from hypothesis import assume, given
from hypothesis.strategies import builds, integers
+import lttb
+
def load_test_data():
csv = "tests/timeseries.csv"