thailint 0.1.1__tar.gz → 0.1.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.
Files changed (28) hide show
  1. {thailint-0.1.1 → thailint-0.1.5}/PKG-INFO +1 -1
  2. {thailint-0.1.1 → thailint-0.1.5}/pyproject.toml +1 -1
  3. {thailint-0.1.1 → thailint-0.1.5}/src/__init__.py +9 -2
  4. {thailint-0.1.1 → thailint-0.1.5}/CHANGELOG.md +0 -0
  5. {thailint-0.1.1 → thailint-0.1.5}/LICENSE +0 -0
  6. {thailint-0.1.1 → thailint-0.1.5}/README.md +0 -0
  7. {thailint-0.1.1 → thailint-0.1.5}/src/.ai/layout.yaml +0 -0
  8. {thailint-0.1.1 → thailint-0.1.5}/src/api.py +0 -0
  9. {thailint-0.1.1 → thailint-0.1.5}/src/cli.py +0 -0
  10. {thailint-0.1.1 → thailint-0.1.5}/src/config.py +0 -0
  11. {thailint-0.1.1 → thailint-0.1.5}/src/core/__init__.py +0 -0
  12. {thailint-0.1.1 → thailint-0.1.5}/src/core/base.py +0 -0
  13. {thailint-0.1.1 → thailint-0.1.5}/src/core/registry.py +0 -0
  14. {thailint-0.1.1 → thailint-0.1.5}/src/core/types.py +0 -0
  15. {thailint-0.1.1 → thailint-0.1.5}/src/linter_config/__init__.py +0 -0
  16. {thailint-0.1.1 → thailint-0.1.5}/src/linter_config/ignore.py +0 -0
  17. {thailint-0.1.1 → thailint-0.1.5}/src/linter_config/loader.py +0 -0
  18. {thailint-0.1.1 → thailint-0.1.5}/src/linters/__init__.py +0 -0
  19. {thailint-0.1.1 → thailint-0.1.5}/src/linters/file_placement/__init__.py +0 -0
  20. {thailint-0.1.1 → thailint-0.1.5}/src/linters/file_placement/linter.py +0 -0
  21. {thailint-0.1.1 → thailint-0.1.5}/src/linters/nesting/__init__.py +0 -0
  22. {thailint-0.1.1 → thailint-0.1.5}/src/linters/nesting/config.py +0 -0
  23. {thailint-0.1.1 → thailint-0.1.5}/src/linters/nesting/linter.py +0 -0
  24. {thailint-0.1.1 → thailint-0.1.5}/src/linters/nesting/python_analyzer.py +0 -0
  25. {thailint-0.1.1 → thailint-0.1.5}/src/linters/nesting/typescript_analyzer.py +0 -0
  26. {thailint-0.1.1 → thailint-0.1.5}/src/orchestrator/__init__.py +0 -0
  27. {thailint-0.1.1 → thailint-0.1.5}/src/orchestrator/core.py +0 -0
  28. {thailint-0.1.1 → thailint-0.1.5}/src/orchestrator/language_detector.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: thailint
3
- Version: 0.1.1
3
+ Version: 0.1.5
4
4
  Summary: The AI Linter - Enterprise-grade linting and governance for AI-generated code across multiple languages
5
5
  License: MIT
6
6
  Keywords: linter,ai,code-quality,static-analysis,file-placement,governance,multi-language,cli,docker,python
@@ -17,7 +17,7 @@ build-backend = "poetry.core.masonry.api"
17
17
 
18
18
  [tool.poetry]
19
19
  name = "thailint"
20
- version = "0.1.1"
20
+ version = "0.1.5"
21
21
  description = "The AI Linter - Enterprise-grade linting and governance for AI-generated code across multiple languages"
22
22
  authors = ["Steve Jackson"]
23
23
  license = "MIT"
@@ -8,8 +8,9 @@ Overview: Initializes the CLI application package, defines version number using
8
8
  setup tools, CLI help text, and documentation. Exports main CLI entry point, high-level Linter
9
9
  class for library usage, configuration utilities, and direct linter imports for advanced usage.
10
10
  Includes nesting depth linter exports for convenient access to nesting analysis functionality.
11
+ Version is dynamically loaded from package metadata (pyproject.toml) using importlib.metadata.
11
12
 
12
- Dependencies: None (minimal imports for package initialization)
13
+ Dependencies: importlib.metadata for dynamic version loading from installed package metadata
13
14
 
14
15
  Exports: __version__, Linter (high-level API), cli (CLI entry point), load_config, save_config,
15
16
  ConfigError, Orchestrator (advanced usage), file_placement_lint, nesting_lint, NestingDepthRule
@@ -17,7 +18,13 @@ Exports: __version__, Linter (high-level API), cli (CLI entry point), load_confi
17
18
  Interfaces: Package version string, Linter class API, CLI command group, configuration functions
18
19
  """
19
20
 
20
- __version__ = "0.1.0"
21
+ try:
22
+ from importlib.metadata import version
23
+
24
+ __version__ = version("thailint")
25
+ except Exception:
26
+ # Fallback for development when package is not installed
27
+ __version__ = "dev"
21
28
 
22
29
  # High-level Library API (primary interface)
23
30
  from src.api import Linter
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