path-sync 0.7.0__tar.gz → 0.7.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 (30) hide show
  1. {path_sync-0.7.0 → path_sync-0.7.1}/PKG-INFO +1 -1
  2. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/__init__.py +1 -1
  3. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/cmd_copy.py +4 -0
  4. {path_sync-0.7.0 → path_sync-0.7.1}/pyproject.toml +1 -1
  5. {path_sync-0.7.0 → path_sync-0.7.1}/.gitignore +0 -0
  6. {path_sync-0.7.0 → path_sync-0.7.1}/LICENSE +0 -0
  7. {path_sync-0.7.0 → path_sync-0.7.1}/README.md +0 -0
  8. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/__main__.py +0 -0
  9. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/__init__.py +0 -0
  10. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/auto_merge.py +0 -0
  11. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/cmd_boot.py +0 -0
  12. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/cmd_dep_update.py +0 -0
  13. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/cmd_options.py +0 -0
  14. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/cmd_validate.py +0 -0
  15. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/file_utils.py +0 -0
  16. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/git_ops.py +0 -0
  17. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/header.py +0 -0
  18. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/log_capture.py +0 -0
  19. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/models.py +0 -0
  20. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/models_dep.py +0 -0
  21. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/prompt_utils.py +0 -0
  22. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/typer_app.py +0 -0
  23. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/validation.py +0 -0
  24. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/verify.py +0 -0
  25. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/_internal/yaml_utils.py +0 -0
  26. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/config.py +0 -0
  27. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/copy.py +0 -0
  28. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/dep_update.py +0 -0
  29. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/sections.py +0 -0
  30. {path_sync-0.7.0 → path_sync-0.7.1}/path_sync/validate_no_changes.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: path-sync
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Sync files from a source repo to multiple destination repos
5
5
  Author-email: EspenAlbert <espen.albert1@gmail.com>
6
6
  License-Expression: MIT
@@ -5,7 +5,7 @@ from path_sync import dep_update
5
5
  from path_sync import validate_no_changes
6
6
  from path_sync import config
7
7
 
8
- VERSION = "0.7.0"
8
+ VERSION = "0.7.1"
9
9
  __all__ = [
10
10
  "copy",
11
11
  "dep_update",
@@ -454,6 +454,10 @@ def _handle_sync(
454
454
  force_overwrite: bool,
455
455
  should_wrap: bool = False,
456
456
  ) -> int:
457
+ if not header.has_known_comment_prefix(dest_path):
458
+ logger.warning(f"No comment config for {dest_path.suffix!r}, cannot sync sections/headers for: {dest_path}")
459
+ return 0
460
+
457
461
  if sections.has_sections(src_content, dest_path):
458
462
  return _handle_sync_sections(src_content, dest_path, skip_list, config_name, dry_run, force_overwrite)
459
463
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [project]
4
4
  name = "path-sync"
5
- version = "0.7.0"
5
+ version = "0.7.1"
6
6
  description = "Sync files from a source repo to multiple destination repos"
7
7
  requires-python = ">=3.13"
8
8
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes