Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Check docstrings don't have unused imports in docstring examples #1453

Merged
merged 4 commits into from
Nov 27, 2024

Conversation

MarcoGorelli
Copy link
Member

@MarcoGorelli MarcoGorelli commented Nov 27, 2024

It looks like other linters don't pick this up, so we need to roll our own script

inspired by @LiamConnors 's work in #1448 - this at least picks up unused imports

also:
closes #1344

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

  • Related issue #<issue number>
  • Closes #<issue number>

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below

@MarcoGorelli MarcoGorelli force-pushed the ci-check-docstrings-run branch from a14adfa to f9f03d4 Compare November 27, 2024 13:14
@MarcoGorelli MarcoGorelli merged commit 14a5f84 into narwhals-dev:main Nov 27, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: unpin olama
1 participant