chore: fix pre-existing pre-commit failures#68
Conversation
Fix ty type checker errors and warnings: - Remove 29 now-unused type: ignore comments across scraper.py, examples, and tests (ty updated its BS4 type stubs) - Fix invalid-assignment in models.py by annotating trip_report as dict[str, Any] before mutating it - Fix str | AttributeValueList assignment in scraper.py by casting url_link["href"] to str() Fix yamllint warnings and errors in workflow files: - Add required second space before inline # comments in ci.yml, release.yml, scorecard.yml, and codeql.yml - Break long comment string in dependabot-auto-merge.yml into a $BODY variable to stay under the 120-char line limit Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughFormatting and typing cleanup across CI workflows, examples, core scraper/models, and tests: removed several Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@jag426 I appreciate your contributions! Apologies for the late merge. I have not noticed the PRs on this repo for a while. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #68 +/- ##
=======================================
Coverage 92.13% 92.14%
=======================================
Files 9 9
Lines 1119 1120 +1
=======================================
+ Hits 1031 1032 +1
Misses 88 88 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
# type: ignorecomments (updated BS4 type stubs no longer need them), fixed two real type errors inmodels.pyandscraper.py# vNpin comments across all 4 workflow files; broke a 151-char line independabot-auto-merge.ymlinto a$BODYvariableTest plan
uv run pre-commit run --all-filespasses all hooksuv run pytest— 141 passed, 3 skipped🤖 Generated with Claude Code