17 lines
343 B
Plaintext
17 lines
343 B
Plaintext
|
build_img:
|
||
|
make build_img
|
||
|
|
||
|
test: build_img
|
||
|
docker run \
|
||
|
-v $(pwd)/src:/src \
|
||
|
--rm \
|
||
|
-it $(cat .img_name) \
|
||
|
python -m pytest
|
||
|
|
||
|
lint: build_img
|
||
|
docker run \
|
||
|
-v $(pwd)/src:/src \
|
||
|
--rm \
|
||
|
-it $(cat .img_name) \
|
||
|
pylint --init-hook "import sys; sys.path.append('/src')" /src
|