diff --git a/pyproject.toml b/pyproject.toml index 63c0fff..b5c7a56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,8 +24,8 @@ tomli = {version = "^2.0.1", python = "<3.11"} [tool.poetry.group.dev.dependencies] pre-commit = "^4.5.0" mypy = "^1.5" -pytest = "^7.2.0" -pytest-cov = "^4.0.0" +pytest = "^9.0.0" +pytest-cov = "^7.0.0" ruff = "0.14.6" [tool.poetry.group.coverage.dependencies] diff --git a/src/dataclass_binder/_impl.py b/src/dataclass_binder/_impl.py index 9d9e4a3..64764c8 100644 --- a/src/dataclass_binder/_impl.py +++ b/src/dataclass_binder/_impl.py @@ -870,7 +870,7 @@ def get_field_docstrings(dataclass: type[Any]) -> Mapping[str, str]: scope = name case ast.Expr(value=ast.Constant(value=str(docstring))): if scope is None: - # When using 'scope is not None', Coverage 6.4.4 will consider the 'is None' branch uncovered. + # When using 'scope is not None', Coverage 7.12.0 will consider the 'is None' branch uncovered. pass else: docstrings[scope] = cleandoc(docstring)