-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
30 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
""" | ||
Exports {{ variable_name }} sequences keyed by supporting emoji version. | ||
|
||
This code generated by {{this_filepath}} on {{utc_now}}. | ||
|
||
This module is used only for testing purposes, it is not imported or used by the | ||
public API. | ||
""" | ||
{{ variable_name }} = { | ||
{%- for table_version, table_def in table.items() %} | ||
'{{ table_version }}': { | ||
# Source: {{ table_def.filename }} | ||
# Date: {{ table_def.date }} | ||
# | ||
{%- for sequence_length, sequences in table_def.sequences.items() %} | ||
# sequences of length {{ sequence_length }}, | ||
{%- for hex_sequence, description in sequences %} | ||
({{ hex_sequence|join(', ') }}), {% if description|length %}# {{description}} {% endif %} | ||
{%- endfor %} | ||
{%- endfor %} | ||
}, | ||
{%- endfor %} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters