todonotifier.constants

This module defines the constants used in the application

 1"""This module defines the constants used in the application
 2"""
 3
 4DEFAULT_EXCLUDE_DIRS = {
 5    "PATTERN": [
 6        r".*[.]egg-info",  # Distribution / packaging
 7        r".*[.]cover",  # Unit test / coverage reports
 8        r".*[.]py,cover",  # Unit test / coverage reports
 9    ],
10    "NAME": [
11        "__pycache__",
12        ".env",  # Environments
13        ".venv",  # Environments
14        "env",  # Environments
15        "venv",  # Environments
16        "ENV",  # Environments
17        "env.bak",  # Environments
18        "venv.bak",  # Environments
19        ".history",  # VS Code
20        ".local",  # local user folder
21        ".vscode",  # VS Code
22        "build",  # Distribution / packaging
23        "develop-eggs",  # Distribution / packaging
24        "dist",  # Distribution / packaging
25        "downloads",  # Distribution / packaging
26        "lib64",  # Distribution / packaging
27        "parts",  # Distribution / packaging
28        "sdist",  # Distribution / packaging
29        "var",  # Distribution / packaging
30        "wheels",  # Distribution / packaging
31        "pip-wheel-metadata",  # Distribution / packaging
32        "share/python-wheels",  # Distribution / packaging
33        "htmlcov",  # Unit test / coverage reports
34        ".tox",  # Unit test / coverage reports
35        ".nox",  # Unit test / coverage reports
36        ".hypothesis",  # Unit test / coverage reports
37        ".pytest_cache",  # Unit test / coverage reports
38        "instance",  # Flask stuff
39        "_build",  # Sphinx documentation
40        "target",  # PyBuilder
41        "profile_default",  # IPython
42        "__pypackages__",  # PEP 582; used by e.g. github.com/David-OConnor/pyflow
43        "site",  # mkdocs documentation
44        ".mypy_cache",  # mypy
45        ".pyre",  # Pyre type checker
46        "migrations",  # DB migrations
47    ],
48    "ABS_PATH": [],
49}
50
51DEFAULT_EXCLUDE_FILES = {
52    "PATTERN": [
53        r".*[.]py\[cod\]",  # Byte-compiled / optimized / DLL files
54        r".*[.]py[.]class",  # Byte-compiled / optimized / DLL files
55        r".*[.]so",  # C extensions
56        r".*[.]manifest",  # PyInstaller
57        r".*[.]spec",  # PyInstaller
58        r".*[.]coverage[.]*",  # Unit test / coverage reports
59        r".*[.]cache",  # Unit test / coverage reports
60        r".*[.]mo",  # Translations
61        r".*[.]pot",  # Translations
62        r".*[.]log",  # Django stuff
63        r".*[.]sage.py",  # SageMath parsed files
64    ],
65    "NAME": [
66        ".coverage",  # Unit test / coverage reports
67        "pip-log.txt",  # Installer logs
68        "pip-delete-this-directory.txt",  # Installer logs
69        "local_settings.py",  # Django stuff:
70        "db.sqlite3",  # Django stuff:
71        "db.sqlite3-journal",  # Django stuff
72        ".webassets-cache",  # Flask stuff
73        ".scrapy",  # Scrapy stuff
74        ".ipynb_checkpoints",  # Jupyter Notebook
75        "ipython_config.py",  # IPython
76        ".python-version",  # pyenv
77        "celerybeat-schedule",  # Celery stuff
78        "celerybeat.pid",  # Celery stuff
79        ".spyderproject",  # Spyder project settings
80        ".spyproject",  # Spyder project settings
81        ".ropeproject",  # Rope project settings
82        ".dmypy.json",  # mypy
83        "dmypy.json",  # mypy
84        "nosetests.xml",  # Unit test / coverage reports
85        "coverage.xml",  # Unit test / coverage reports
86    ],
87    "ABS_PATH": [],
88}
89
90UNKNOWN_USER_NAME = "JANE_DOE"
91
92DEFAULT_COMPLETION_DATE = "9999-12-25"
93
94
95class DEFAULT_SUMMARY_GENERATORS_ENUM:
96    EXPIRED_TODO_BY_USER = "Expired TODO Items"
97    TODO_BY_MODULE = "Module-wise Summary"
98    UPCOMING_TODO_BY_USER = "Upcoming Week TODO Items"
DEFAULT_EXCLUDE_DIRS = {'PATTERN': ['.*[.]egg-info', '.*[.]cover', '.*[.]py,cover'], 'NAME': ['__pycache__', '.env', '.venv', 'env', 'venv', 'ENV', 'env.bak', 'venv.bak', '.history', '.local', '.vscode', 'build', 'develop-eggs', 'dist', 'downloads', 'lib64', 'parts', 'sdist', 'var', 'wheels', 'pip-wheel-metadata', 'share/python-wheels', 'htmlcov', '.tox', '.nox', '.hypothesis', '.pytest_cache', 'instance', '_build', 'target', 'profile_default', '__pypackages__', 'site', '.mypy_cache', '.pyre', 'migrations'], 'ABS_PATH': []}
DEFAULT_EXCLUDE_FILES = {'PATTERN': ['.*[.]py\\[cod\\]', '.*[.]py[.]class', '.*[.]so', '.*[.]manifest', '.*[.]spec', '.*[.]coverage[.]*', '.*[.]cache', '.*[.]mo', '.*[.]pot', '.*[.]log', '.*[.]sage.py'], 'NAME': ['.coverage', 'pip-log.txt', 'pip-delete-this-directory.txt', 'local_settings.py', 'db.sqlite3', 'db.sqlite3-journal', '.webassets-cache', '.scrapy', '.ipynb_checkpoints', 'ipython_config.py', '.python-version', 'celerybeat-schedule', 'celerybeat.pid', '.spyderproject', '.spyproject', '.ropeproject', '.dmypy.json', 'dmypy.json', 'nosetests.xml', 'coverage.xml'], 'ABS_PATH': []}
UNKNOWN_USER_NAME = 'JANE_DOE'
DEFAULT_COMPLETION_DATE = '9999-12-25'
class DEFAULT_SUMMARY_GENERATORS_ENUM:
96class DEFAULT_SUMMARY_GENERATORS_ENUM:
97    EXPIRED_TODO_BY_USER = "Expired TODO Items"
98    TODO_BY_MODULE = "Module-wise Summary"
99    UPCOMING_TODO_BY_USER = "Upcoming Week TODO Items"
EXPIRED_TODO_BY_USER = 'Expired TODO Items'
TODO_BY_MODULE = 'Module-wise Summary'
UPCOMING_TODO_BY_USER = 'Upcoming Week TODO Items'