Conversation
WalkthroughRecent updates to the Changes
Assessment against linked issues
The changes successfully address the objectives by implementing lint configurations that handle undefined names errors in Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
I'm afraid you reading the docs for skip-magic-trailing-comma the other way around.
|
See test results for failed build of commit d10fc305a1 |
Link to issue number:
Closes #11905
Follow up to #16767
Summary of the issue:
scons files have a lot of inbuilt functions that the linter doesn't recognize. See also #11905
Ruff preserves indent/new-line formatting of function arguments, list items, and similar iterables, if a trailing comma is added.
Much of NVDA is missing these trailing commas causing the lint to collapse them.
Description of user facing changes
Description of development approach
A lint rule has been added to ignore F821 errors in scons files.
A pre-commit hook is added, which adds a trailing comma to python in case it was missed.
Testing strategy:
Tested running ruff commands on the code base
Known issues with pull request:
N/A
Code Review Checklist:
Summary by CodeRabbit