Add version strings to the packages.

This commit is contained in:
Andrew Hamilton 2021-12-22 20:47:31 +10:00
parent b522577fa3
commit 949f5f6d24
4 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,3 @@
__version__ = "v2021.12.22"

View file

@ -13,6 +13,9 @@ import fill3.terminal as terminal
import termstr
__version__ = "v2021.12.22"
def appearance_is_valid(appearance):
return (all(isinstance(line, (str, termstr.TermStr)) and len(line) > 0 for line in appearance)
and len(set(len(line) for line in appearance)) < 2)

View file

@ -9,6 +9,9 @@ import stat
import syslog
__version__ = "v2021.12.22"
FILE_KEY = "fi"
DIRECTORY_KEY = "di"
OTHER_WRITABLE_KEY = "ow"

View file

@ -10,6 +10,9 @@ import weakref
import cwcwidth
__version__ = "v2021.12.22"
ESC = "\x1b"
NORMAL = "[m"