Code reformat/refactor

This commit is contained in:
2020-01-15 19:27:42 -05:00
parent d467bf0702
commit a16f3533b1
3 changed files with 56 additions and 45 deletions

4
util.py Normal file
View File

@@ -0,0 +1,4 @@
def is_valid_id(s: str):
return all(c.isalnum() or c in "_-" for c in s)