Skip to content

fix: remove duplicate _planned_command definition (ruff F811)#66

Merged
Dongbumlee merged 1 commit into
developfrom
fix/develop-lint-f811
Apr 13, 2026
Merged

fix: remove duplicate _planned_command definition (ruff F811)#66
Dongbumlee merged 1 commit into
developfrom
fix/develop-lint-f811

Conversation

@Dongbumlee
Copy link
Copy Markdown
Collaborator

Problem

CI on develop fails with ruff F811:

src/agentops/cli/app.py:105:5: F811 Redefinition of unused _planned_command from line 27

PR #59 (feature/browse-commands) merged into develop before the refactor commit (6017f3a) that moved stubs into their own command files. The duplicate local def _planned_command shadowed the import from agentops.cli._planned.

Fix

Remove the duplicate local definition (lines 105-111). The import on line 27 already provides the identical function -- all call sites continue to work.

Verification

  • ruff check src/ tests/ -- all checks passed
  • pytest tests/ -x -q -- 112 passed, 1 skipped

@Dongbumlee Dongbumlee merged commit daaf73e into develop Apr 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant