Skip to content

Commit

Permalink
update makefile to use pip install dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Loftis <loftiskg@gmail.com>
  • Loading branch information
loftiskg committed Oct 1, 2021
1 parent 0155284 commit 29b93a8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,26 @@ install-python:
python -m pip install -e sdk/python -U --use-deprecated=legacy-resolver

benchmark-python:
FEAST_USAGE=False IS_TEST=True pytest --integration --benchmark --benchmark-autosave --benchmark-save-data sdk/python/tests
FEAST_USAGE=False IS_TEST=True python -m pytest --integration --benchmark --benchmark-autosave --benchmark-save-data sdk/python/tests

test-python:
FEAST_USAGE=False IS_TEST=True pytest -n 8 sdk/python/tests
FEAST_USAGE=False IS_TEST=True python -m pytest -n 8 sdk/python/tests

test-python-integration:
FEAST_USAGE=False IS_TEST=True pytest -n 8 --integration sdk/python/tests
FEAST_USAGE=False IS_TEST=True python -m pytest -n 8 --integration sdk/python/tests

format-python:
# Sort
cd ${ROOT_DIR}/sdk/python; isort feast/ tests/
cd ${ROOT_DIR}/sdk/python; python -m isort feast/ tests/

# Format
cd ${ROOT_DIR}/sdk/python; black --target-version py37 feast tests
cd ${ROOT_DIR}/sdk/python; python -m black --target-version py37 feast tests

lint-python:
cd ${ROOT_DIR}/sdk/python; mypy feast/ tests/
cd ${ROOT_DIR}/sdk/python; isort feast/ tests/ --check-only
cd ${ROOT_DIR}/sdk/python; flake8 feast/ tests/
cd ${ROOT_DIR}/sdk/python; black --check feast tests
cd ${ROOT_DIR}/sdk/python; python -m mypy feast/ tests/
cd ${ROOT_DIR}/sdk/python; python -m isort feast/ tests/ --check-only
cd ${ROOT_DIR}/sdk/python; python -m flake8 feast/ tests/
cd ${ROOT_DIR}/sdk/python; python -m black --check feast tests

# Go SDK

Expand Down

0 comments on commit 29b93a8

Please sign in to comment.