Closed WhyNotHugo closed 1 year ago
Updated. I've just realised that I've mis-measuring coverage in a bunch of project too, thanks for the pointer.
Rebased with pre-commit hooks applied.
Mypy would help make sure that type hints keep making sense. :+1:
Right now sphinxcontrib_django/docstrings/attributes.py
is failing due to a quirk in the type system (tuple[X]
and tuple[X, X]
are different types):
sphinxcontrib_django/docstrings/attributes.py:20: error: Incompatible types in assignment (expression has type "tuple[Any, Any, Any]", variable has type "tuple[Any, Any]") [assignment]
You might need to use:
FIELD_DESCRIPTORS : tuple[Any,...] = (FileDescriptor, related_descriptors.ForwardManyToOneDescriptor)
Codecov Report
100.00% <100.00%> (ø)
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more