1 Star 0 Fork 0

deeplearningrepos/client

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
Jeff Raubitschek 提交于 2020-12-04 21:51 +08:00 . add bump to make
# vim:ft=make:
# Setup browser launch
define BROWSER_PYSCRIPT
import os, webbrowser, sys
try:
from urllib import pathname2url
except:
from urllib.request import pathname2url
webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1])))
endef
export BROWSER_PYSCRIPT
BROWSER := python -c "$$BROWSER_PYSCRIPT"
coverage: ## check code coverage quickly with the default Python
coverage run --source wandb -m pytest
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html
release-test: dist ## package and upload test release
twine upload --repository testpypi dist/*
release: dist ## package and upload release
twine upload dist/*
dist: clean ## builds source and wheel package
python setup.py sdist bdist_wheel
ls -l dist
clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts
clean-build: ## remove build artifacts
rm -fr build/
rm -fr dist/
rm -fr .eggs/
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -f {} +
setup-clean:
rm -fr build/
rm -fr dist/
test-clean:
rm -fr build/
rm -fr dist/
find . -name '*.pyc' -delete
find . -name '__pycache__' -delete
rm -rf .tox/
rm -rf .pytest_cache/
test:
tox -e "codemod,black,mypy,flake8"
test-full:
tox
test-short:
tox -e "codemod,black,mypy,flake8,py36"
test-sweeps:
tox -e "py36" -- wandb/sweeps/
format:
tox -e format
proto:
tox -e proto
isort:
isort -o wandb -o gql --force-sort-within-sections $(args)
clean-pyc: ## remove Python file artifacts
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
clean-test: ## remove test and coverage artifacts
rm -fr .tox/
rm -f .coverage
rm -fr htmlcov/
bumpversion-to-dev:
tox -e bumpversion-to-dev
bumpversion-from-dev:
tox -e bumpversion-from-dev
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/deeplearningrepos/client.git
git@gitee.com:deeplearningrepos/client.git
deeplearningrepos
client
client
master

搜索帮助