~javiljoen/lttb-numpy

cfc86f5be060cbca4fbc8d9f7c61d4ae5568a036 — Jack Viljoen 3 years ago 3543a0c
Fix `make lint` command and add `isort` check
3 files changed, 5 insertions(+), 2 deletions(-)

M Makefile
M requirements-dev.txt
M tests/test_lttb.py
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"