Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor fix
  • Loading branch information
bebound committed Feb 6, 2023
commit 87cb41c0718a169293abba27125baa8c3a69f454
2 changes: 1 addition & 1 deletion azdev/operations/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import re
import sys

from distutils.version import LooseVersion # pylint:disable=import-error,no-name-in-module
from distutils.version import LooseVersion # pylint:disable=import-error,no-name-in-module,deprecated-module
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporally disable this warning.
I will create another PR to fix this like Azure/azure-cli#17667

from docutils import core, io

from knack.log import get_logger
Expand Down
2 changes: 1 addition & 1 deletion azdev/operations/testtool/tests/test_profile_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ def test_unsupported_profile(self):
def test_raise_inner_exception(self):
with self.assertRaises(Exception):
with ProfileContext('latest'):
raise Exception('inner Exception') # pylint: disable=broad-except
raise Exception('inner Exception') # pylint: disable=broad-exception-raised