@@ -53,8 +53,8 @@ def validate_str(self, data: str) -> Optional[ValidationError]:
53
53
54
54
:param data: the data string to validate
55
55
:return: validation error
56
- :retval None: if `data` is valid
57
- :retval ValidationError: if `data` is invalid
56
+ :retval None: if `` data` ` is valid
57
+ :retval ValidationError: if `` data` ` is invalid
58
58
"""
59
59
...
60
60
@@ -69,19 +69,19 @@ def __init__(self, schema_version: 'SchemaVersion') -> None:
69
69
70
70
@property
71
71
def schema_version (self ) -> 'SchemaVersion' :
72
- """get the schema version."""
72
+ """Get the schema version."""
73
73
return self .__schema_version
74
74
75
75
@property
76
76
@abstractmethod
77
77
def output_format (self ) -> OutputFormat :
78
- """get the format."""
78
+ """Get the format."""
79
79
...
80
80
81
81
@property
82
82
@abstractmethod
83
83
def _schema_file (self ) -> Optional [str ]:
84
- """get the schema file according to schema version."""
84
+ """Get the schema file according to schema version."""
85
85
...
86
86
87
87
@@ -105,7 +105,7 @@ def make_schemabased_validator(output_format: OutputFormat, schema_version: 'Sch
105
105
106
106
def make_schemabased_validator (output_format : OutputFormat , schema_version : 'SchemaVersion'
107
107
) -> 'BaseSchemabasedValidator' :
108
- """get the default Schema-based Validator for a certain :class:`` OutputFormat` `.
108
+ """Get the default Schema-based Validator for a certain :class:`OutputFormat`.
109
109
110
110
Raises error when no instance could be made.
111
111
"""
0 commit comments