custom-python-logger 2.0.10__tar.gz → 2.0.11__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.
Files changed (18) hide show
  1. {custom_python_logger-2.0.10/custom_python_logger.egg-info → custom_python_logger-2.0.11}/PKG-INFO +1 -1
  2. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/custom_python_logger/logger.py +2 -3
  3. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11/custom_python_logger.egg-info}/PKG-INFO +1 -1
  4. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/pyproject.toml +1 -1
  5. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/LICENSE +0 -0
  6. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/MANIFEST.in +0 -0
  7. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/README.md +0 -0
  8. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/custom_python_logger/__init__.py +0 -0
  9. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/custom_python_logger/consts.py +0 -0
  10. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/custom_python_logger.egg-info/SOURCES.txt +0 -0
  11. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/custom_python_logger.egg-info/dependency_links.txt +0 -0
  12. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/custom_python_logger.egg-info/requires.txt +0 -0
  13. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/custom_python_logger.egg-info/top_level.txt +0 -0
  14. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/requirements.txt +0 -0
  15. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/setup.cfg +0 -0
  16. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/tests/test_logger.py +0 -0
  17. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/tests/test_logger_pytest.py +0 -0
  18. {custom_python_logger-2.0.10 → custom_python_logger-2.0.11}/tests/test_usage_example_pytest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: custom-python-logger
3
- Version: 2.0.10
3
+ Version: 2.0.11
4
4
  Summary: A custom logger with color support and additional features.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -23,9 +23,8 @@ def yaml_pretty_format(data: Any, indent: int = 4, sort_keys: bool = False, allo
23
23
  return yaml.dump(data, sort_keys=sort_keys, indent=indent, allow_unicode=allow_unicode)
24
24
 
25
25
 
26
- def get_project_path_by_file(markers: list[str] | None = None) -> Path:
27
- if not markers:
28
- markers = ["pyproject.toml", "setup.py", ".git", "requirements.txt", ".gitignore", ".github", ".gitlab"]
26
+ def get_project_path_by_file(markers: set[str] | None = None) -> Path:
27
+ markers = markers or {".git", "setup.py", "pyproject.toml", "LICENSE", "README.md"}
29
28
  path = Path(__file__).resolve() if "__file__" in globals() else Path.cwd().resolve()
30
29
 
31
30
  for marker in markers:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: custom-python-logger
3
- Version: 2.0.10
3
+ Version: 2.0.11
4
4
  Summary: A custom logger with color support and additional features.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "custom-python-logger"
7
- version = "2.0.10"
7
+ version = "2.0.11"
8
8
  description = "A custom logger with color support and additional features."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"