nbsync 0.2.0__tar.gz → 0.2.1__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 (28) hide show
  1. {nbsync-0.2.0 → nbsync-0.2.1}/PKG-INFO +1 -1
  2. {nbsync-0.2.0 → nbsync-0.2.1}/pyproject.toml +1 -1
  3. {nbsync-0.2.0 → nbsync-0.2.1}/src/nbsync/logger.py +2 -2
  4. {nbsync-0.2.0 → nbsync-0.2.1}/.devcontainer/devcontainer.json +0 -0
  5. {nbsync-0.2.0 → nbsync-0.2.1}/.devcontainer/postCreate.sh +0 -0
  6. {nbsync-0.2.0 → nbsync-0.2.1}/.devcontainer/starship.toml +0 -0
  7. {nbsync-0.2.0 → nbsync-0.2.1}/.gitattributes +0 -0
  8. {nbsync-0.2.0 → nbsync-0.2.1}/.github/workflows/ci.yaml +0 -0
  9. {nbsync-0.2.0 → nbsync-0.2.1}/.github/workflows/docs.yaml +0 -0
  10. {nbsync-0.2.0 → nbsync-0.2.1}/.github/workflows/publish.yaml +0 -0
  11. {nbsync-0.2.0 → nbsync-0.2.1}/.gitignore +0 -0
  12. {nbsync-0.2.0 → nbsync-0.2.1}/LICENSE +0 -0
  13. {nbsync-0.2.0 → nbsync-0.2.1}/README.md +0 -0
  14. {nbsync-0.2.0 → nbsync-0.2.1}/docs/index.md +0 -0
  15. {nbsync-0.2.0 → nbsync-0.2.1}/mkdocs.yaml +0 -0
  16. {nbsync-0.2.0 → nbsync-0.2.1}/src/nbsync/__init__.py +0 -0
  17. {nbsync-0.2.0 → nbsync-0.2.1}/src/nbsync/cell.py +0 -0
  18. {nbsync-0.2.0 → nbsync-0.2.1}/src/nbsync/markdown.py +0 -0
  19. {nbsync-0.2.0 → nbsync-0.2.1}/src/nbsync/notebook.py +0 -0
  20. {nbsync-0.2.0 → nbsync-0.2.1}/src/nbsync/py.typed +0 -0
  21. {nbsync-0.2.0 → nbsync-0.2.1}/src/nbsync/sync.py +0 -0
  22. {nbsync-0.2.0 → nbsync-0.2.1}/tests/__init__.py +0 -0
  23. {nbsync-0.2.0 → nbsync-0.2.1}/tests/conftest.py +0 -0
  24. {nbsync-0.2.0 → nbsync-0.2.1}/tests/test_cell.py +0 -0
  25. {nbsync-0.2.0 → nbsync-0.2.1}/tests/test_logger.py +0 -0
  26. {nbsync-0.2.0 → nbsync-0.2.1}/tests/test_markdown.py +0 -0
  27. {nbsync-0.2.0 → nbsync-0.2.1}/tests/test_notebook.py +0 -0
  28. {nbsync-0.2.0 → nbsync-0.2.1}/tests/test_sync.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbsync
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A core library to synchronize Jupyter notebooks and Markdown documents, enabling seamless integration and dynamic content execution
5
5
  Project-URL: Documentation, https://daizutabi.github.io/nbsync/
6
6
  Project-URL: Source, https://github.com/daizutabi/nbsync
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nbsync"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "A core library to synchronize Jupyter notebooks and Markdown documents, enabling seamless integration and dynamic content execution"
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
@@ -1,13 +1,13 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  import logging
4
- from logging import Logger
4
+ from logging import Logger, LoggerAdapter
5
5
  from typing import Any
6
6
 
7
7
  _logger = logging.getLogger("nbsync")
8
8
 
9
9
 
10
- def configure(logger: Logger | None = None) -> Logger:
10
+ def configure(logger: Logger | LoggerAdapter | None = None) -> Logger | LoggerAdapter:
11
11
  global _logger # noqa: PLW0603
12
12
 
13
13
  if logger:
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