-
Notifications
You must be signed in to change notification settings - Fork 54
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
Run linter on tests and docs #770
Conversation
✅ Deploy Preview for kaleidoscopic-dango-0cf31d canceled.
|
@dcmcand PTAL. Let me know if you currently don't have cycles, then I'll assign someone else. |
|
||
- repo: https://github.com/charliermarsh/ruff-pre-commit | ||
# Ruff version. | ||
rev: "v0.0.289" | ||
hooks: | ||
- id: ruff | ||
exclude: "examples|tests|docs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It annoys me a bit that we skip examples and the such as it breaks consistency but this might need a deeper look and follow up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I skipped examples because they have config files, which by design use unbound variables.
Fixes #768.
Description
This pull request changes the linter config to run on tests and docs.
Pull request checklist
Additional information
How to test