File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
tools/python/mbed_os_tools/detect Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1717 python3 -m pip install -e ./tools
1818
1919 # Remove mbed-tools package that comes with the docker image, it conflicts with the one we want to install
20- python3 -m pip uninstall mbed-tools
20+ python3 -m pip uninstall -y mbed-tools
2121
2222 # Note: For this CI job we use MBED_CREATE_PYTHON_VENV=FALSE so that we can make sure
2323 # this mode works.
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616import re
17- from abc import ABCMeta , abstractmethod
17+ from abc import ABC , abstractmethod
1818from io import open
1919from json import load
2020from os import listdir
2828 LOCAL_PLATFORM_DATABASE ,
2929 LOCAL_MOCKS_DATABASE ,
3030)
31- from future .utils import with_metaclass
3231
3332mbedls_root_logger = logging .getLogger ("mbedls" )
3433mbedls_root_logger .setLevel (logging .WARNING )
@@ -57,7 +56,7 @@ class FSInteraction(object):
5756 Never = 3
5857
5958
60- class MbedLsToolsBase (with_metaclass ( ABCMeta , object ) ):
59+ class MbedLsToolsBase (ABC ):
6160 """ Base class for mbed-lstools, defines mbed-ls tools interface for
6261 mbed-enabled devices detection for various hosts
6362 """
You can’t perform that action at this time.
0 commit comments