1 Star 0 Fork 0

littleTesting/building-machine-learning-pipelines

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 955 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hannes Hapke 提交于 2020-06-28 03:10 +08:00 . added test requirements
.PHONY: help clean clean-pyc clean-build list test test-all coverage docs release sdist
help:
@echo "clean - remove build artifacts"
@echo "develop - set up dev environment"
@echo "install-deps"
@echo "install-pre-commit"
@echo "setup-git"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
clean:
rm -fr build/
rm -fr dist/
rm -fr *.egg-info
find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
develop: setup-git install-deps install-pre-commit
install-deps:
pip install -r requirements/requirements.txt
pip install -r requirements/test-requirements.txt
install-pre-commit:
pip install "pre-commit>=1.10.1,<1.11.0"
setup-git: install-pre-commit
pre-commit install
git config branch.autosetuprebase always
lint: install-pre-commit
@echo "Linting Python files"
pre-commit run -a
@echo ""
test: develop lint
@echo "Running Python tests"
py.test .
@echo ""
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/littleTesting/building-machine-learning-pipelines.git
git@gitee.com:littleTesting/building-machine-learning-pipelines.git
littleTesting
building-machine-learning-pipelines
building-machine-learning-pipelines
master

搜索帮助