浏览代码

Fix style

Jelmer Vernooij 1 年之前
父节点
当前提交
8e9f8c1dfe
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      pyproject.toml

+ 4 - 2
pyproject.toml

@@ -69,7 +69,7 @@ license-files = ["COPYING"]
 [tool.setuptools.dynamic]
 version = {attr = "dulwich.__version__"}
 
-[tool.ruff]
+[tool.ruff.lint]
 select = [
     "ANN",
     "D",
@@ -105,7 +105,9 @@ ignore = [
     "E501",  # line too long
     "E741",  # ambiguous variable name
 ]
+
+[tool.ruff]
 target-version = "py37"
 
-[tool.ruff.pydocstyle]
+[tool.ruff.lint.pydocstyle]
 convention = "google"