/python3-playground

python3 playground

Primary LanguagePythonApache License 2.0Apache-2.0

ci

GitHub license GitHub latest SemVer tag) GitHub release)

this is python3 playground

env

Warning

poetry 使用镜像源

# 设置默认源
poetry source add --default tuna https://pypi.tuna.tsinghua.edu.cn/simple/
poetry source remove tuna

# 设置私有源
# Consider changing the priority to one of the non-deprecated values: 'default', 'primary', 'supplemental', 'explicit'
poetry source add --priority=PRIORITY [name] [url]

poetry source add --priority supplemental aliyun https://mirrors.aliyun.com/pypi/simple
poetry source remove aliyun

dev

# show help
$ make help

# check env
$ make env

# install dependencies
$ make dep

# run ci pipeline
$ make ci

# fix code style
$ make style

# check style
$ make check

test

run all test

$ make test

simple test run

$ poetry run python -m unittest tests/test_main.py