thailint 0.1.1__py3-none-any.whl → 0.1.5__py3-none-any.whl

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.
src/__init__.py CHANGED
@@ -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
@@ -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
@@ -1,5 +1,5 @@
1
1
  src/.ai/layout.yaml,sha256=yF79hvJOQDCm8Y75OpMfJzVr0ORR4n4MpokIh3Ff84w,953
2
- src/__init__.py,sha256=E0i84M6mA2-YIK8SN3zcQ2mw1gG-EXbRvl0Z3WE0cIg,1746
2
+ src/__init__.py,sha256=OZ5CvL4rDK07lxwyB9g6ZFTY8cxKWlDkdoMH103sHWY,2042
3
3
  src/api.py,sha256=C-Co8fjY8ewT0O5IttAX045Fhr34MuXz_YL0wT5Q0x4,4644
4
4
  src/cli.py,sha256=s11vSyouEY4Jqu6bx7QyP-jvIefpTOso-JpkpiK7Bhk,20409
5
5
  src/config.py,sha256=ANDs6EF3IQbwHyNEVWXbpnNQMEe9wDqP3Bm2w_4zTU8,13139
@@ -21,8 +21,8 @@ src/linters/nesting/typescript_analyzer.py,sha256=rec4N0NccB9mQ2452g2hcz521-kHxS
21
21
  src/orchestrator/__init__.py,sha256=XXLDJq2oaB-TpP2Y97GRnde9EkITGuFCmuLrDfxI9nY,245
22
22
  src/orchestrator/core.py,sha256=6LqaDcSBlH-hJmTpPRDTMo-tHTzEwVRQg4sZ0wyKdE0,7092
23
23
  src/orchestrator/language_detector.py,sha256=rHyVMApit80NTTNyDH1ObD1usKD8LjGmH3DwqNAWYGc,2736
24
- thailint-0.1.1.dist-info/LICENSE,sha256=kxh1J0Sb62XvhNJ6MZsVNe8PqNVJ7LHRn_EWa-T3djw,1070
25
- thailint-0.1.1.dist-info/METADATA,sha256=sTkwbrhRc7fFz1ZmVAKBD1G3C-5heG7XvJrxo8JuHJo,17057
26
- thailint-0.1.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
27
- thailint-0.1.1.dist-info/entry_points.txt,sha256=l7DQJgU18sVLDpSaXOXY3lLhnQHQIRrSJZTQjG1cEAk,62
28
- thailint-0.1.1.dist-info/RECORD,,
24
+ thailint-0.1.5.dist-info/LICENSE,sha256=kxh1J0Sb62XvhNJ6MZsVNe8PqNVJ7LHRn_EWa-T3djw,1070
25
+ thailint-0.1.5.dist-info/METADATA,sha256=Gp6D4FiqgMPeomZKeyG3f-6y1Eu54gCoXi-kBF3AYHY,17057
26
+ thailint-0.1.5.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
27
+ thailint-0.1.5.dist-info/entry_points.txt,sha256=l7DQJgU18sVLDpSaXOXY3lLhnQHQIRrSJZTQjG1cEAk,62
28
+ thailint-0.1.5.dist-info/RECORD,,