Fix code style and documentation.

This commit is contained in:
Sergey Vartanov 2022-07-03 21:45:30 +03:00
parent 93710220c2
commit 1a719fca2a
3 changed files with 25 additions and 12 deletions

View file

@ -28,22 +28,22 @@ EXTRACTOR: ShapeExtractor = ShapeExtractor(
class Collection:
"""Icon collection."""
# Core tags
# Core tags.
tags: Tags
# Tag key to be used in rows
# Tag key to be used in rows.
row_key: Optional[str] = None
# List of tag values to be used in rows
# List of tag values to be used in rows.
row_values: list[str] = field(default_factory=list)
# Tag key to be used in columns
# Tag key to be used in columns.
column_key: Optional[str] = None
# List of tag values to be used in columns
# List of tag values to be used in columns.
column_values: list[str] = field(default_factory=list)
# List of tags to be used in rows
# List of tags to be used in rows.
row_tags: list[Tags] = field(default_factory=list)
@classmethod