jetpytools 2.2.4__tar.gz → 2.2.5__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.
- {jetpytools-2.2.4 → jetpytools-2.2.5}/PKG-INFO +1 -1
- jetpytools-2.2.5/jetpytools/_version.py +2 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/exceptions/base.py +3 -1
- jetpytools-2.2.4/jetpytools/_version.py +0 -2
- {jetpytools-2.2.4 → jetpytools-2.2.5}/.gitignore +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/LICENSE +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/README.md +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/__init__.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/enums/__init__.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/enums/base.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/enums/other.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/exceptions/__init__.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/exceptions/enum.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/exceptions/file.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/exceptions/generic.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/exceptions/module.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/functions/__init__.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/functions/funcs.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/functions/normalize.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/functions/other.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/py.typed +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/types/__init__.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/types/builtins.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/types/check.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/types/file.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/types/funcs.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/types/generic.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/types/supports.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/types/utils.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/utils/__init__.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/utils/file.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/utils/funcs.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/utils/math.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/jetpytools/utils/ranges.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/pyproject.toml +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/tests/test_file.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/tests/test_funcs.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/tests/test_normalize.py +0 -0
- {jetpytools-2.2.4 → jetpytools-2.2.5}/tests/test_types_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jetpytools
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.5
|
|
4
4
|
Summary: Collection of stuff that's useful in general python programming
|
|
5
5
|
Project-URL: Source Code, https://github.com/Jaded-Encoding-Thaumaturgy/jetpytools
|
|
6
6
|
Project-URL: Contact, https://discord.gg/XTpc6Fa9eB
|
|
@@ -99,7 +99,9 @@ class CustomError(Exception, metaclass=CustomErrorMeta):
|
|
|
99
99
|
if not message:
|
|
100
100
|
message = "An error occurred!"
|
|
101
101
|
|
|
102
|
-
should_color =
|
|
102
|
+
should_color = (
|
|
103
|
+
sys.stdout and sys.stdout.isatty() and not os.getenv("NO_COLOR") and not os.getenv("JETPYTOOLS_NO_COLOR")
|
|
104
|
+
)
|
|
103
105
|
|
|
104
106
|
if self.func:
|
|
105
107
|
func_header = norm_func_name(self.func).strip()
|
|
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
|
|
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
|