Skip to content

fix: resolve lint issues and modernize code#1

Merged
JienWeng merged 1 commit intomasterfrom
fix/lint-issues
Mar 17, 2026
Merged

fix: resolve lint issues and modernize code#1
JienWeng merged 1 commit intomasterfrom
fix/lint-issues

Conversation

@JienWeng
Copy link
Copy Markdown
Owner

@JienWeng JienWeng commented Mar 17, 2026

Summary

  • Fix undefined name OrchestratorCallbacks in linkedin_scraper.py
  • Replace str, Enum with StrEnum for BotMode and ReviewDecision
  • Fix ambiguous variable name (l -> link)
  • Fix unused loop variable (i -> _)
  • Fix trailing whitespace in docstrings
  • Add OrchestratorCallbacks import in TYPE_CHECKING block
  • Configure ruff to ignore E501 (long lines in JS/prompts) and T201 (print statements)
  • Update ruff config to new [tool.ruff.lint] format

Test plan

  • All 133 tests pass
  • Ruff lint checks pass
  • No regressions

- Fix undefined name OrchestratorCallbacks in linkedin_scraper.py
- Replace str, Enum with StrEnum for BotMode and ReviewDecision
- Fix ambiguous variable name (l -> link)
- Fix unused loop variable (i -> _)
- Fix trailing whitespace in docstrings
- Add OrchestratorCallbacks import in TYPE_CHECKING block
- Configure ruff to ignore E501 (long lines in JS/prompts) and T201 (print statements)
- Update ruff config to new [tool.ruff.lint] format
@JienWeng JienWeng merged commit 7ee4c71 into master Mar 17, 2026
3 checks passed
@JienWeng JienWeng deleted the fix/lint-issues branch March 17, 2026 14:53
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