t-bug-catcher 0.5.2__tar.gz → 0.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/PKG-INFO +1 -1
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/setup.cfg +1 -1
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/setup.py +1 -1
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/__init__.py +1 -1
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/bug_catcher.py +0 -1
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/validation.py +5 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher.egg-info/PKG-INFO +1 -1
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/MANIFEST.in +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/README.rst +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/pyproject.toml +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/requirements.txt +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/bug_snag.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/config.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/exceptions.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/jira.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/resources/whispers_config.yml +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/stack_saver.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/utils/__init__.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/utils/common.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/utils/logger.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher/workitems.py +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher.egg-info/SOURCES.txt +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher.egg-info/dependency_links.txt +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher.egg-info/not-zip-safe +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher.egg-info/requires.txt +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/t_bug_catcher.egg-info/top_level.txt +0 -0
- {t_bug_catcher-0.5.2 → t_bug_catcher-0.5.4}/tests/test_t_bug_catcher.py +0 -0
|
@@ -26,7 +26,7 @@ setup(
|
|
|
26
26
|
packages=find_packages(include=["t_bug_catcher", "t_bug_catcher.*"]),
|
|
27
27
|
test_suite="tests",
|
|
28
28
|
url="https://www.thoughtful.ai/",
|
|
29
|
-
version="0.5.
|
|
29
|
+
version="0.5.4",
|
|
30
30
|
zip_safe=False,
|
|
31
31
|
install_requires=install_requirements,
|
|
32
32
|
include_package_data=True,
|
|
@@ -336,7 +336,6 @@ uninstall_sys_hook = __bug_catcher.uninstall_sys_hook
|
|
|
336
336
|
|
|
337
337
|
if not CONFIG.STAGE:
|
|
338
338
|
logger.warning("Implementation Stage is not configured. Please configure it before running.")
|
|
339
|
-
raise Exception("Implementation Stage is not configured.")
|
|
340
339
|
else:
|
|
341
340
|
if CONFIG.STAGE.lower() == "delivery":
|
|
342
341
|
pre_run_validation = PRE_RUN_VALIDATION
|
|
@@ -114,5 +114,10 @@ class PreRunValidation:
|
|
|
114
114
|
for be_warn in self.broad_exception_warnings:
|
|
115
115
|
validation_logger.warning(f"{be_warn.file_path}:{be_warn.lineno}: {be_warn.message}")
|
|
116
116
|
|
|
117
|
+
@property
|
|
118
|
+
def errors_count(self):
|
|
119
|
+
"""Property to define the number of errors. Used for pre-commit hook."""
|
|
120
|
+
return len(self.broad_exception_warnings)
|
|
121
|
+
|
|
117
122
|
|
|
118
123
|
PRE_RUN_VALIDATION = PreRunValidation()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|