17 Star 12 Fork 65

OpenHarmony/third_party_node

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pyproject.toml 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
kangchongtao 提交于 2024-04-18 16:01 . node.js update to v18.20.1
[tool.ruff]
select = [
"C90", # McCabe cyclomatic complexity
"E", # pycodestyle
"F", # Pyflakes
"ICN", # flake8-import-conventions
"INT", # flake8-gettext
"PLC", # Pylint conventions
"PLE", # Pylint errors
"PLR09", # Pylint refactoring: max-args, max-branches, max returns, max-statements
"PYI", # flake8-pyi
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"T10", # flake8-debugger
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"W", # pycodestyle
"YTT", # flake8-2020
]
exclude = [
"deps",
"tools/inspector_protocol",
"tools/node_modules",
]
ignore = [
"E401",
"E402",
"E7",
"PLC1901",
"RUF005",
"RUF100",
]
line-length = 172
target-version = "py37"
[tool.ruff.mccabe]
max-complexity = 100
[tool.ruff.per-file-ignores]
"tools/checkimports.py" = ["W605"]
"tools/gyp/pylib/gyp/xcodeproj_file.py" = ["PLE0101"]
"tools/icu/shrink-icu-src.py" = ["W605"]
"tools/mkssldef.py" = ["W605"]
[tool.ruff.pylint]
max-args = 12
max-branches = 110
max-returns = 12
max-statements = 289
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/third_party_node.git
git@gitee.com:openharmony/third_party_node.git
openharmony
third_party_node
third_party_node
master

搜索帮助