Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/dataclass_binder/_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down