simple-module-core 0.0.1__tar.gz → 0.0.2__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 (44) hide show
  1. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/PKG-INFO +1 -1
  2. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/pyproject.toml +1 -1
  3. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/_coupling.py +5 -0
  4. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/.gitignore +0 -0
  5. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/LICENSE +0 -0
  6. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/README.md +0 -0
  7. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/__init__.py +0 -0
  8. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/__main__.py +0 -0
  9. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/__init__.py +0 -0
  10. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/_i18n.py +0 -0
  11. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/_inertia_api.py +0 -0
  12. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/_js_workspace.py +0 -0
  13. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/_migration.py +0 -0
  14. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/_module.py +0 -0
  15. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/_runner.py +0 -0
  16. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/diagnostics/_types.py +0 -0
  17. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/discovery.py +0 -0
  18. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/dotenv.py +0 -0
  19. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/environments.py +0 -0
  20. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/events.py +0 -0
  21. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/exceptions.py +0 -0
  22. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/feature_flags.py +0 -0
  23. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/health.py +0 -0
  24. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/i18n.py +0 -0
  25. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/menu.py +0 -0
  26. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/module.py +0 -0
  27. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/permissions.py +0 -0
  28. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/py.typed +0 -0
  29. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/services.py +0 -0
  30. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/simple_module_core/versioning.py +0 -0
  31. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_diagnostics.py +0 -0
  32. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_discovery.py +0 -0
  33. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_events.py +0 -0
  34. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_feature_flags.py +0 -0
  35. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_feature_flags_decorator.py +0 -0
  36. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_health_registry.py +0 -0
  37. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_i18n.py +0 -0
  38. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_i18n_diagnostics.py +0 -0
  39. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_menu.py +0 -0
  40. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_module_base.py +0 -0
  41. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_module_diagnostics.py +0 -0
  42. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_permissions.py +0 -0
  43. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_services.py +0 -0
  44. {simple_module_core-0.0.1 → simple_module_core-0.0.2}/tests/test_versioning.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simple_module_core
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Module-system primitives for the simple_module framework — ModuleBase, discovery, diagnostics, events
5
5
  Project-URL: Homepage, https://github.com/antosubash/simple_module_python
6
6
  Project-URL: Repository, https://github.com/antosubash/simple_module_python
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "simple_module_core"
3
- version = "0.0.1"
3
+ version = "0.0.2"
4
4
  description = "Module-system primitives for the simple_module framework — ModuleBase, discovery, diagnostics, events"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -54,6 +54,11 @@ def check_framework_module_coupling(modules: list[ModuleBase]) -> list[Diagnosti
54
54
  diags: list[Diagnostic] = []
55
55
  for fw_pkg, fw_dir in framework_dirs:
56
56
  for py_file in fw_dir.rglob("*.py"):
57
+ # `templates/` ships as package data — its `.py` files are not
58
+ # framework code that runs at import time. They land in the
59
+ # scaffolded user project and import plugins legitimately there.
60
+ if "templates" in py_file.relative_to(fw_dir).parts:
61
+ continue
57
62
  try:
58
63
  tree = ast.parse(py_file.read_text(), filename=str(py_file))
59
64
  except SyntaxError: