File: constants.py

package info (click to toggle)
python-strictyaml 1.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,708 kB
  • sloc: python: 12,836; sh: 48; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 178 bytes parent folder | download
1
2
3
4
5
6
7
8
9
TRUE_VALUES = ["yes", "true", "on", "1", "y"]

FALSE_VALUES = ["no", "false", "off", "0", "n"]

BOOL_VALUES = TRUE_VALUES + FALSE_VALUES

REGEXES = {
    "email": r".+?\@.+?",
}