-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fix Python formatting in tests #2866
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
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
* Fix import sort order in tests * Re-format code
User description
Description
This PR fixes formatting inconsistencies in the Python files under
/tests/to make them adhere more closely to PEP8 standards.Formatting was done with:
There are no functional changes in this PR.
Motivation and Context
Better readability/maintainability of Python code.
Types of changes
Checklist
PR Type
Other
Description
• Standardize import ordering using isort across test files
• Apply black code formatting with 120 character line length
• Fix indentation and spacing inconsistencies throughout codebase
• Break long lines and function calls for better readability
Changes walkthrough 📝
12 files
Reorder imports and format code structureFix import order and dictionary formattingStandardize imports and dictionary structureReformat imports and fix indentation issuesFix import order and conditional formattingStandardize imports and fix indentationReorder imports and add spacingFix import order and function formattingFormat imports and improve line breaksReorder imports and add function spacingFix indentation and function call formattingStandardize imports and add function spacing