claude-dev-env 1.26.1 → 1.26.2

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.
@@ -69,6 +69,7 @@ def guard_hook_injection(file_path: str) -> None:
69
69
  "reason": block_reason,
70
70
  }
71
71
  print(json.dumps(block_payload))
72
+ return
72
73
 
73
74
  try:
74
75
  with open(known_hook_count_file, "w") as count_file:
@@ -6,7 +6,10 @@ import sys
6
6
  from dataclasses import dataclass
7
7
  from typing import List
8
8
 
9
- from .config import DEFAULT_BASE_BRANCH_WHEN_UNKNOWN
9
+ try:
10
+ from .validator_defaults import DEFAULT_BASE_BRANCH_WHEN_UNKNOWN
11
+ except ImportError:
12
+ from validator_defaults import DEFAULT_BASE_BRANCH_WHEN_UNKNOWN
10
13
 
11
14
 
12
15
  SUBPROCESS_TIMEOUT_SECONDS = 30
@@ -1,6 +1,7 @@
1
1
  """Tests for output formatting."""
2
2
 
3
3
  import os
4
+ import sys
4
5
 
5
6
  import pytest
6
7
 
@@ -95,11 +96,15 @@ class TestJsonFlag:
95
96
  import json
96
97
  import subprocess
97
98
 
99
+ validators_directory = os.path.dirname(os.path.abspath(__file__))
100
+ hooks_directory = os.path.normpath(
101
+ os.path.join(validators_directory, os.pardir)
102
+ )
98
103
  result = subprocess.run(
99
- ["python", "run_all_validators.py", "--json"],
104
+ [sys.executable, "-m", "validators.run_all_validators", "--json"],
100
105
  capture_output=True,
101
106
  text=True,
102
- cwd=os.path.dirname(os.path.abspath(__file__)),
107
+ cwd=hooks_directory,
103
108
  )
104
109
 
105
110
  output = result.stdout.strip()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-dev-env",
3
- "version": "1.26.1",
3
+ "version": "1.26.2",
4
4
  "description": "Claude Code development standards — rules, hooks, agents, commands, and skills",
5
5
  "type": "module",
6
6
  "bin": {