Browse Source

Fix style

Jelmer Vernooij 1 year ago
parent
commit
8e9f8c1dfe
1 changed files with 4 additions and 2 deletions
  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"