Open
Conversation
No functional changes in this commit. Run black and isort.
No functional changes in this commit. Run black and isort linters against MaintenanceMode.
No functional changes in this commit. Run black and isort linters against dcnm_maintenance_mode.py.
No functional changes in this commit. Run black and isort linters against unit test files for dcnm_maintenance_mode.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR applies black and isort linting to the dcnm_maintenance_mode module and its related files. The changes are purely cosmetic, reformatting imports and line lengths to comply with Python formatting standards.
Key Changes
- Reformatted multi-line imports to single lines where appropriate
- Reordered imports alphabetically following isort conventions
- Added blank lines between import groups per PEP 8
- Collapsed long statements to single lines following black style
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/unit/modules/dcnm/dcnm_maintenance_mode/utils.py | Collapsed multi-line imports to single lines |
| tests/unit/modules/dcnm/dcnm_maintenance_mode/test_dcnm_maintenance_mode_want.py | Reformatted imports to single lines |
| tests/unit/modules/dcnm/dcnm_maintenance_mode/test_dcnm_maintenance_mode_query.py | Reformatted imports, added blank line after class docstring per PEP 257 |
| tests/unit/modules/dcnm/dcnm_maintenance_mode/test_dcnm_maintenance_mode_params_spec.py | Collapsed multi-line imports to single lines |
| tests/unit/modules/dcnm/dcnm_maintenance_mode/test_dcnm_maintenance_mode_merged.py | Reformatted imports and collapsed long statements |
| tests/unit/modules/dcnm/dcnm_maintenance_mode/test_dcnm_maintenance_mode_common.py | Collapsed multi-line imports to single lines |
| plugins/modules/dcnm_maintenance_mode.py | Added blank line between import groups, collapsed long statements |
| plugins/module_utils/common/maintenance_mode_info.py | Reordered imports alphabetically, collapsed long statements |
| plugins/module_utils/common/maintenance_mode.py | Reformatted imports and collapsed long statements |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
tests/unit/modules/dcnm/dcnm_maintenance_mode/test_dcnm_maintenance_mode_common.py
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
There are no functional changes in this PR.
Run black and isort linters against all files directly-related to the dcnm_maintenance_mode module.
Notes for reviewers
Files changed