1 Star 4 Fork 2

猫爱吃鱼 / Tkinter-Designer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 973 Bytes
一键复制 编辑 原始数据 按行查看 历史
Christian Clauss 提交于 2021-10-30 10:25 . Fix typo discovered by codespell
# Makefiles are traditionally for building C projects... Or something, IDK. Whatever.
# They're a great drop in for shared script runners, keeping cmd syntax brief.
# Declare a PHONY target, write the sequence of commands it executes, then chain them together.
# In your shell just run `make lint` to just run flake8 with the options listed.
# or run `make precommit` to run the lint target script and if it successfully exits then the test target script.
# List of phony make targets
.PHONY: test, lint, build, precommit, cli, gui
setup:
poetry install
# run flake8 with these params. E251 and E226 are errors about whitespace around operators.
lint:
poetry run flake8 --ignore=E251,E226 --max-line-length=127
test:
poetry run pytest
# lint and test and build the pypi package
build: lint test
poetry build
# Run this. `make precommit`
precommit: lint test
cli:
poetry run tkdesigner ${FIGMA_PROJECT_URL} ${FIGMA_TOKEN} -f
gui:
poetry run python gui/gui.py
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Heconnor/Tkinter-Designer.git
git@gitee.com:Heconnor/Tkinter-Designer.git
Heconnor
Tkinter-Designer
Tkinter-Designer
mHSJDev

搜索帮助

344bd9b3 5694891 D2dac590 5694891