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.
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/PKG-INFO +1 -1
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/pixie/prompts/file_watcher.py +7 -0
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/pyproject.toml +1 -1
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/LICENSE +0 -0
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/README.md +0 -0
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/pixie/prompts/__init__.py +0 -0
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/pixie/prompts/graphql.py +0 -0
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/pixie/prompts/prompt.py +0 -0
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/pixie/prompts/prompt_management.py +0 -0
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/pixie/prompts/server.py +0 -0
- {pixie_prompts-0.1.0 → pixie_prompts-0.1.1}/pixie/prompts/storage.py +0 -0
|
@@ -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("/", ".")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|