pixie-prompts 0.1.0__tar.gz → 0.1.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pixie-prompts
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Code-first, type-safe prompt management
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -48,6 +48,13 @@ def discover_and_load_modules():
48
48
  if not re.search(r"(?:^|\s)pixie(?=[\s.])", content):
49
49
  continue
50
50
 
51
+ # Check for ignore directive
52
+ if any(
53
+ re.fullmatch(r"#\s*pixie\s*:\s*ignore", line.strip())
54
+ for line in content.splitlines()
55
+ ):
56
+ continue
57
+
51
58
  # Load the module with a unique name based on path
52
59
  relative_path = py_file.relative_to(cwd)
53
60
  module_name = str(relative_path.with_suffix("")).replace("/", ".")
@@ -4,7 +4,7 @@ packages = [
4
4
  { include = "pixie" },
5
5
  ]
6
6
 
7
- version = "0.1.0"
7
+ version = "0.1.1" # Managed by setuptools-scm
8
8
  description = "Code-first, type-safe prompt management"
9
9
  authors = ["Yiou Li <yol@gopixie.ai>"]
10
10
  license = "MIT"
File without changes
File without changes