-
Notifications
You must be signed in to change notification settings - Fork 3k
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
{Pylint} Fix useless-object-inheritance #30331
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
Thank you for your contribution atombrella! We will review the pull request and get back to you soon. |
@@ -1593,7 +1593,7 @@ def _update_login(server_name, resource_group_name, auth_config, password_auth, | |||
|
|||
|
|||
# pylint: disable=too-many-instance-attributes, too-few-public-methods, useless-object-inheritance |
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.
useless-object-inheritance
can be removed.
# pylint: disable=too-many-instance-attributes, too-few-public-methods, useless-object-inheritance | |
# pylint: disable=too-many-instance-attributes, too-few-public-methods |
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.
Fixed
@@ -1992,7 +1992,7 @@ def migrate_firewall_rules_from_single_to_flex(db_context, cmd, source_server_id | |||
|
|||
|
|||
# pylint: disable=too-many-instance-attributes, too-few-public-methods, useless-object-inheritance |
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.
# pylint: disable=too-many-instance-attributes, too-few-public-methods, useless-object-inheritance | |
# pylint: disable=too-many-instance-attributes, too-few-public-methods |
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.
fixed
This is redundant as of Python 3.
b0edaf3
to
0e603c2
Compare
@jiasli I pushed another small related fix. |
Description
This is redundant as of Python 3. This code base needs a bit of cleaning after the Python 3 only support.
History Notes
[Component Name 1] BREAKING CHANGE:
az command a
: Make some customer-facing breaking change[Component Name 2]
az command b
: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.