Skip to content

Commit

Permalink
Add no cover to specific docstring lines
Browse files Browse the repository at this point in the history
These lines are not code, just documentation of a variable, so they
shouldn't count against our coverage metric.
  • Loading branch information
amstilp committed Jan 19, 2024
1 parent f0e4484 commit a938b26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions primed/cdsa/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,17 @@ class SignedAgreementStatusMixin:

class StatusChoices(models.TextChoices):
ACTIVE = "active", "Active"
"""SignedAgreements that are currently active."""
"""SignedAgreements that are currently active.""" # pragma: no cover

WITHDRAWN = "withdrawn", "Withdrawn"
"""SignedAgreements that have been withdrawn for some reason (e.g., PI changed institution,
study no longer wanted to participate.)"""

LAPSED = "lapsed", "Lapsed"
"""SignedAgreements from a AgreementMajorVersion that is no longer valid."""
"""SignedAgreements from a AgreementMajorVersion that is no longer valid.""" # pragma: no cover

REPLACED = "replaced", "Replaced"
"""SignedAgreements that have been replaced by a newer version."""
"""SignedAgreements that have been replaced by a newer version.""" # pragma: no cover

STATUS = StatusChoices.choices

Expand Down

0 comments on commit a938b26

Please sign in to comment.