Skip to content

Commit

Permalink
[IMP]base_dns_infrastructure: Pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
flotho committed Jun 7, 2024
1 parent 302eb9a commit 540028d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions base_dns_infrastructure/models/dns_record/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,8 @@ def _check_value(self):
):
raise ValidationError(

Check warning on line 74 in base_dns_infrastructure/models/dns_record/common.py

View check run for this annotation

Codecov / codecov/patch

base_dns_infrastructure/models/dns_record/common.py#L74

Added line #L74 was not covered by tests
_(
"%%(value)s does not match validation rule for a %%(type)s record"
),
(
rec_id.value,
rec_id.type_id.display_name,
),
"%(value)s does not match validation rule for a %(type)s record",
value=rec_id.value,
type=rec_id.type_id.display_name,
)
)

0 comments on commit 540028d

Please sign in to comment.