1 Star 0 Fork 0

Bytedance Inc./gpu4pyscf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.ruff.toml 726 Bytes
一键复制 编辑 原始数据 按行查看 历史
Qiming Sun 提交于 2024-06-21 04:29 +08:00 . Add ruff checks (#172)
exclude = [
"test",
]
respect-gitignore = true
line-length = 120
[lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
#select = ["E4", "E7", "E9", "F"]
ignore = [
# Whitespaces:
"E201", "E202", "E203", "E211", "E221", "E222", "E225", "E226", "E228", "E231", "E241", "E251",
# Comments:
"E261", "E262", "E265", "E266",
# Blank lines:
"E301", "E302", "E303", "E305", "E306",
# Imports:
"E401", "E402",
# Other:
"E701", "E713", "E721", "E731", "E741", "E275",
"F401", "F403", "C901", "W391"
]
[format]
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
quote-style = "single"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ByteDance/gpu4pyscf.git
git@gitee.com:ByteDance/gpu4pyscf.git
ByteDance
gpu4pyscf
gpu4pyscf
master

搜索帮助