1 Star 1 Fork 1

阿姆斯特芬/WowAid

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vscode技巧.txt 715 Bytes
一键复制 编辑 原始数据 按行查看 历史
1.防止python的便宜文件.pyc提交到git上
shift + command + p之后输入setting
在工作目录中加入一下配置文件
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/*.pyc": true,
"**/.DS_Store": true
}
}
2.git本身排除python的编译文件
在.gitignore文件中增加**/*.pyc即可
3.在vscode中格式化python的代码
conda install --name wow3.9 autopep8 -y
pip install -U flake8
pip install -U autopep8
On Windows   Shift + Alt + F
On Ubuntu   Ctrl + Shift + I
安装tox
sudo pip install tox
执行检查命令
tox -e pep8
所有不符合pep8规则的都会展示出来,一个个文件改就行了
4.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/amstelveen/WowAid.git
git@gitee.com:amstelveen/WowAid.git
amstelveen
WowAid
WowAid
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385