-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade Ruff #254
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
Upgrade Ruff #254
Conversation
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.
Pull Request Overview
This PR upgrades Ruff from version 0.8.x to 0.13.3 and addresses linting issues discovered by the newer version. The upgrade ensures consistency between local development and GitHub Actions environments.
- Updated Ruff and ruff-lsp versions in dependency specifications
- Fixed linting violations related to unnecessary string conversions in logging statements
- Added documentation for VSCode Ruff extension configuration
- Implemented Sphinx autodoc configuration to skip Pydantic methods
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
pyproject.toml | Updated Ruff and ruff-lsp version constraints |
docs/source/dev/README.rst | Added VSCode configuration guidance for Ruff extension |
docs/source/conf.py | Added Sphinx setup to skip Pydantic model methods from documentation |
compass/validation/location.py | Removed unnecessary string conversion in logging statement |
compass/validation/content.py | Removed unnecessary string conversion in logging statement |
compass/scripts/process.py | Removed unnecessary string conversion in logging statement |
compass/extraction/wind/ordinance.py | Removed unnecessary string conversions in multiple logging statements |
compass/extraction/solar/ordinance.py | Removed unnecessary string conversions in multiple logging statements |
compass/extraction/date.py | Removed unnecessary string conversion in logging statement |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@castelao any comments or can I go ahead and merge? |
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.
Thanks for doing that!
* Update Ruff * Add ruff extension instructions for VSCode * Skip pydantic members in docs * Linter fixes
We were several versions behind, which started causing our GHA to find lints that we were not seeing locally.
This PR bumps the Ruff version and fixes outstanding linter issues.