加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.cfg 921 Bytes
一键复制 编辑 原始数据 按行查看 历史
# setuptools config
[bdist_wheel]
# python-tag = py36
# universal=0 # only for current runing python ver2 or 3
; pycodestyle yapf config
[pycodestyle]
exclude = .git, .tox, venv, node_modules, *old.py, *_bak.py, __pycache__, dist, toml
# print total number of errors and warnings
count = True
# W503 line break before binary operator, W504 after
ignore = W503, W504
max-line-length = 120
statistics = True
# see config for pep8 in <https://pycodestyle.readthedocs.io/en/latest/intro.html#configuration>
# generall usage: pycodestyle src --statistics -qq
[yapf]
based_on_style = pep8
indent_width = 4
column_limit = 120
# see cofig for yapf in <https://github.com/google/yapf#formatting-style>
# alse can get config file by `yapf --style-help > .style.yapf`
# generall usage: yapf -ri src
# YAPF exlude files: file named .yapfignore located in the working directory from which YAPF is invoked.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化