Commit Graph

13 Commits (5136902308ef9c84d418df2f904ccebe2df66be3)

Author SHA1 Message Date
guidotheelen 09da7bdb59 fail when not compliant 2020-05-06 11:43:48 +02:00
guidotheelen 82a638993a use f-strings to print 2020-04-22 16:51:57 +02:00
guidotheelen 16fa539f74 also check single emoji 2020-04-22 09:51:20 +02:00
guidotheelen 25b38fe2cb fix check emoji sequences 2020-04-21 16:11:10 +02:00
Mike FABIAN 188ffcf08c Use Python3 explicitly 2019-07-17 10:35:02 +02:00
Doug Felt 5bec5cce2c Update check_emoji_sequences.
- use existing utilities in nototools/unicode_data, add_aliases
- add check that file names do not use presentation selectors
- include tags in valid cps that can appear in a sequence
- add check for valid tag sequences (for subregion flags)
- separate out check that no source for an alias is present (we
  expect to alias this so should not have an image with that name)
- filter data by age (somewhat), provide command line flag, remove
  hard-coded unicode 9.0 value
- separate coverage check (for when data is partial), provide
  command line flag and don't run by default
- provide command line flag to exclude subdirs by name when collecting
  images
- refactor output so each error has a consistent initial text indicating
  the check where the error was found, make output a tad less verbose
2018-04-16 18:25:58 -07:00
cclauss 4607d55e4c Modernize Python 2 code to get ready for Python 3 2017-09-14 22:18:24 +02:00
Doug Felt b99cd4b22b Enhance check_emoji_sequences tool.
- includes aliases
- checks coverage of sequences (assumes full coverage of all unicode
  emoji and sequences for now)
- reports sequence names

(Some of this code needs to be shuffled into other places, sequence name
lookup and emoji_vs stripping doesn't belong here since these operations
are more generally useful.  That will come.)
2017-01-24 11:40:13 -08:00
Doug Felt dd2244a9b8 Add check for emoji sequence coverage. 2017-01-19 10:50:40 -08:00
Doug Felt 2a6c35a1bd Make tool run correctly under virtualenv. 2017-01-18 14:56:16 -08:00
Doug Felt 4ec1a5fed8 Update emoji sequence check to be more flexible.
- supports checking files with other extension besides .png
- checks all files under a root directory and not just the
  files directly in a directory
- checks for duplicate files in multiple directories under a root
- reports the directory containing a file when there are problems
2017-01-18 14:48:52 -08:00
Doug Felt ae1b8331ee Tweaks to emoji build tools to deal with odds and ends. 2016-04-05 13:28:40 -07:00
Doug Felt d570ad7c9e Add tool to check/validate emoji sequences in image file naming. 2016-03-16 15:32:42 -07:00