Skip to content

Conversation

@allenrobel
Copy link
Collaborator

@allenrobel allenrobel commented Dec 3, 2025

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

  1. Copilot has reviewed these changes.

Files changed

  1. plugins/modules/dcnm_maintenance_mode.py
  2. plugins/module_utils/common/maintenance_mode.py
  3. plugins/module_utils/common/maintenance_mode_info.py
  4. tests/unit/modules/dcnm/dcnm_maintenance_mode/*.py

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.
@allenrobel allenrobel self-assigned this Dec 3, 2025
@allenrobel allenrobel requested a review from Copilot December 3, 2025 21:16
Copilot finished reviewing on behalf of allenrobel December 3, 2025 21:18
Copy link
Contributor

Copilot AI left a 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 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.

@allenrobel allenrobel changed the title dcnm_maintenance_mode: linting dcnm_maintenance_mode: 01 linting Dec 3, 2025
@allenrobel allenrobel added the ready for review PR is ready to be reviewed label Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review PR is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants