#10198 refactor: Bump Ruff to 0.16 and apply fixes
Pull request opened by
edgarrmondragon
Description
SSIA.
•
https://github.com/astral-sh/ruff/releases/tag/0.16.0
•
https://astral.sh/blog/ruff-v0.16.0
Checklist
• I have read the
contribution guide
Was generative AI tooling used to co-author this PR?
• Yes (please specify the tool below)
Related Issues
• Closes #XXXX
Summary by Sourcery
Upgrade Ruff tooling to v0.16 and align lint configuration, code annotations, and docs with the new rules and behavior.
Enhancements:
• Refresh Ruff lint configuration to use new rule names, expand per-file ignores, and add file-level and inline Ruff directives across the codebase.
• Adjust minor code and documentation formatting to satisfy updated Ruff style and lint requirements.
Build:
• Update Ruff version constraint in pyproject and pre-commit hook to require Ruff 0.16 and enable preview features.
Documentation:
• Update contributor and tutorial documentation examples to match current Ruff-driven style conventions.
Tests:
• Adapt test code comments and assertions to comply with updated Ruff linting while preserving test behavior.
meltano/meltano