1 Star 0 Fork 0

郭艺鹏/mantid

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pyproject.toml 886 Bytes
一键复制 编辑 原始数据 按行查看 历史
[tool.ruff]
line-length = 140
# https://beta.ruff.rs/docs/rules/
lint.select = ["C90", "E", "F", "RUF100", "W"]
lint.ignore = ["E722", # bare except
]
exclude = [
"qt/applications/workbench/workbench/app/resources.py",
"qt/python/mantidqt/mantidqt/resources.py",
"qt/python/mantidqt/mantidqt/dialogs/errorreports/resources_qt5.py",
"Testing/PerformanceTests",
"Testing/SystemTests/lib",
"Testing/SystemTests/scripts",
"Testing/SystemTests/tests/framework/reference",
"scripts/ErrorReporter/ui_errorreport.py"
]
[tool.ruff.lint.mccabe]
max-complexity = 20
[tool.versioningit.vcs]
method = "git"
default-tag = "0.0.0"
exclude = ["nightly"]
[tool.versioningit.next-version]
method = "minor"
[tool.versioningit.format]
distance = "{base_version}.dev{distance}"
dirty = "{base_version}+uncommitted"
distance-dirty = "{base_version}.dev{distance}+uncommitted"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guoyipengguoyipeng2018/mantid.git
[email protected]:guoyipengguoyipeng2018/mantid.git
guoyipengguoyipeng2018
mantid
mantid
main

搜索帮助