Skip to content

Commit 4da4bc8

Browse files
Ilanlidoclaude
andcommitted
CM-60929: Fix ruff formatting in hooks_manager.py
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f9dbcac commit 4da4bc8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cycode/cli/apps/ai_guardrails/hooks_manager.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ def _load_policy(policy_path: Path) -> dict:
104104
return {**copy.deepcopy(DEFAULT_POLICY), **existing}
105105

106106

107-
def create_policy_file(
108-
scope: str, mode: PolicyMode, repo_path: Optional[Path] = None
109-
) -> tuple[bool, str]:
107+
def create_policy_file(scope: str, mode: PolicyMode, repo_path: Optional[Path] = None) -> tuple[bool, str]:
110108
"""Create or update the ai-guardrails.yaml policy file.
111109
112110
If the file already exists, only the mode field is updated.

0 commit comments

Comments
 (0)