Skip to content

Commit 28fb326

Browse files
committed
chore: remove unused imports
Signed-off-by: Frank Kong <frkong@redhat.com>
1 parent f73cc48 commit 28fb326

4 files changed

Lines changed: 1 addition & 12 deletions

File tree

.cursor/rules/documentation-standards.mdc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,6 @@ EOF
249249
- Align multi-line comments for readability
250250
- Use consistent comment block formatting
251251

252-
## pdoc Documentation Rules
253-
- Use `pdoc` for API documentation generation from Python source
254-
- **Strictly use Google Style Docstrings** for all code elements
255-
- Document public variables using PEP 224 docstrings or `#:` doc-comments
256-
- Generated documentation located in `docs/sidekick/`
257-
- Target audience: developers and LLMs
258-
259252
## Google Style Docstring Format
260253
```python
261254
def function_name(param1: str, param2: int) -> bool:

src/rhdh_dynamic_plugin_factory/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def clone_to_path(self, repo_path: Path) -> bool:
428428
self.logger.error(f"[red]Destination directory does not exist: {repo_path}[/red]")
429429
return True
430430

431-
self.logger.info(f"[bold blue]Cloning repository[/bold blue]")
431+
self.logger.info("[bold blue]Cloning repository[/bold blue]")
432432
self.logger.info(f"Repository: {self.repo}")
433433
self.logger.info(f"Reference: {self.repo_ref}")
434434
self.logger.info(f"Destination directory: {repo_path}")

src/rhdh_dynamic_plugin_factory/logger.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"""
44

55
import logging
6-
import sys
7-
from typing import Optional
86
from rich.console import Console
97
from rich.logging import RichHandler
108
from rich.traceback import install

tests/test_plugin_list_config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Tests the plugin list configuration loading and management.
55
"""
66

7-
from pathlib import Path
8-
97
import yaml
108
import pytest
119

0 commit comments

Comments
 (0)