@@ -2780,8 +2780,8 @@ def extend_pack(
try:
from dulwich._pack import ( # type: ignore
- apply_delta, # noqa: F811
- bisect_find_sha, # noqa: F811
+ apply_delta, # type: ignore
+ bisect_find_sha, # type: ignore
)
except ImportError:
pass
@@ -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"