File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def __str__(self):
36
36
return '' .join (self .args [:1 ]) or getattr (self , 'message' , '' )
37
37
38
38
39
- class InvalidFormat (ValidationError ):
39
+ class InvalidFormat (ValidationError ): # noqa N818
40
40
"""Something is wrong with the format of the number.
41
41
42
42
This generally means characters or delimiters that are not allowed are
@@ -45,19 +45,19 @@ class InvalidFormat(ValidationError):
45
45
message = 'The number has an invalid format.'
46
46
47
47
48
- class InvalidChecksum (ValidationError ):
48
+ class InvalidChecksum (ValidationError ): # noqa N818
49
49
"""The number's internal checksum or check digit does not match."""
50
50
51
51
message = "The number's checksum or check digit is invalid."
52
52
53
53
54
- class InvalidLength (InvalidFormat ):
54
+ class InvalidLength (InvalidFormat ): # noqa N818
55
55
"""The length of the number is wrong."""
56
56
57
57
message = 'The number has an invalid length.'
58
58
59
59
60
- class InvalidComponent (ValidationError ):
60
+ class InvalidComponent (ValidationError ): # noqa N818
61
61
"""One of the parts of the number has an invalid reference.
62
62
63
63
Some part of the number refers to some external entity like a country
You can’t perform that action at this time.
0 commit comments