-
Notifications
You must be signed in to change notification settings - Fork 0
style(utils): apply ruff --fix to src/utils #25
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
Conversation
…he for provider jobs
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.
check-spelling found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
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 pull request applies ruff --fix to the src/utils directory to reduce lint noise by automatically fixing style and formatting issues. The changes are purely cosmetic and do not modify any behavioral aspects of the code.
- Applies automatic linting fixes to improve code formatting consistency
- Removes lint warnings and errors that can be automatically resolved
- Ensures adherence to Python style guidelines
Reviewed Changes
Copilot reviewed 54 out of 9361 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.venv_ci/lib/python3.12/site-packages/_pytest/logging.py |
Added pytest logging module (appears to be a new virtual environment file) |
.venv_ci/lib/python3.12/site-packages/_pytest/legacypath.py |
Added pytest legacy path support module (virtual environment file) |
.venv_ci/lib/python3.12/site-packages/_pytest/junitxml.py |
Added pytest JUnit XML reporting module (virtual environment file) |
.venv_ci/lib/python3.12/site-packages/_pytest/hookspec.py |
Added pytest hook specifications module (virtual environment file) |
.venv_ci/lib/python3.12/site-packages/_pytest/helpconfig.py |
Added pytest help configuration module (virtual environment file) |
.venv_ci/lib/python3.12/site-packages/_pytest/freeze_support.py |
Added pytest freeze support module (virtual environment file) |
…ain permissions add the relevent changes Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ain permissions add the relevent changes Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.Unrecognized words (24652)Truncated, please see the job summary, log, or artifact if available. These words are not needed and should be removedTruncated, please see the job summary, log, or artifact if available. Some files were automatically ignored 🙈These sample patterns would exclude them: You should consider excluding directory paths (e.g. You should consider adding them to: File matching is via Perl regular expressions. To check these files, more of their words need to be in the dictionary than not. You can use Script unavailableTruncated, please see the job summary, log, or artifact if available. OR To have the bot accept them for you, comment in the PR quoting the following line: Forbidden patterns 🙅 (42)In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves. These forbidden patterns matched content: Should be
|
| ❌ Errors, Warnings, and Notices | Count |
|---|---|
| 319 | |
| ℹ️ candidate-pattern | 60 |
| ❌ check-file-path | 9798 |
| ❌ forbidden-pattern | 1749 |
| 1 | |
| 137 | |
| ❌ slow-file | 1 |
| 87 |
See ❌ Event descriptions for more information.
✏️ Contributor please read this
By default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
- ... misspelled, then please correct them instead of using the command.
- ... names, please add them to
.github/actions/spelling/allow/names.txt. - ... APIs, you can add them to a file in
.github/actions/spelling/allow/. - ... just things you're using, please add them to an appropriate file in
.github/actions/spelling/expect/. - ... tokens you only need in one place and shouldn't generally be used, you can add an item in an appropriate file in
.github/actions/spelling/patterns/.
See the README.md in each directory for more information.
🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉
If the flagged items are 🤯 false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it,
try adding it to thepatterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
style(utils): apply ruff --fix to src/utils
This is a small, focused commit applying ruff auto-fixes to
src/utilsto reduce lint noise.No behavioral changes expected; purely style/formatting.