diff options
author | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-07-05 14:18:56 (GMT) |
---|---|---|
committer | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-07-05 14:18:56 (GMT) |
commit | 7a930d9820f6b4d78d4366957bb065b0794f5499 (patch) | |
tree | 5e68ce1ec101790510156cb58c3523f9b19ce850 /SCons/Tool/MSCommon/__init__.py | |
parent | 42803c3340b53d5a5ad9fb0345bf3a84f792544a (diff) | |
download | SCons-7a930d9820f6b4d78d4366957bb065b0794f5499.zip SCons-7a930d9820f6b4d78d4366957bb065b0794f5499.tar.gz SCons-7a930d9820f6b4d78d4366957bb065b0794f5499.tar.bz2 |
Change to individual imports with noqa F401 to appease sider/flake8.
Diffstat (limited to 'SCons/Tool/MSCommon/__init__.py')
-rw-r--r-- | SCons/Tool/MSCommon/__init__.py | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/SCons/Tool/MSCommon/__init__.py b/SCons/Tool/MSCommon/__init__.py index 168b1d4..8396e17 100644 --- a/SCons/Tool/MSCommon/__init__.py +++ b/SCons/Tool/MSCommon/__init__.py @@ -32,24 +32,6 @@ import SCons.Util from SCons.Tool.MSCommon.sdk import mssdk_exists, mssdk_setup_env -from SCons.Tool.MSCommon.MSVC.Exceptions import ( - VisualCException, - MSVCInternalError, - MSVCScriptExecutionError, - MSVCVersionNotFound, - MSVCSDKVersionNotFound, - MSVCToolsetVersionNotFound, - MSVCSpectreLibsNotFound, - MSVCArgumentError, -) - -from SCons.Tool.MSCommon.MSVC.Policy import ( - msvc_set_notfound_policy, - msvc_get_notfound_policy, - msvc_set_scripterror_policy, - msvc_get_scripterror_policy, -) - from SCons.Tool.MSCommon.vc import ( msvc_exists, msvc_setup_env_tool, @@ -59,10 +41,6 @@ from SCons.Tool.MSCommon.vc import ( msvc_sdk_versions, msvc_toolset_versions, msvc_query_version_toolset, - MSVCUnsupportedHostArch, - MSVCUnsupportedTargetArch, - MSVCScriptNotFound, - MSVCUseSettingsError, ) from SCons.Tool.MSCommon.vs import ( @@ -73,6 +51,25 @@ from SCons.Tool.MSCommon.vs import ( query_versions, ) +from .MSVC.Policy import msvc_set_notfound_policy # noqa: F401 +from .MSVC.Policy import msvc_get_notfound_policy # noqa: F401 +from .MSVC.Policy import msvc_set_scripterror_policy # noqa: F401 +from .MSVC.Policy import msvc_get_scripterror_policy # noqa: F401 + +from .MSVC.Exceptions import VisualCException # noqa: F401 +from .MSVC.Exceptions import MSVCInternalError # noqa: F401 +from .MSVC.Exceptions import MSVCScriptExecutionError # noqa: F401 +from .MSVC.Exceptions import MSVCVersionNotFound # noqa: F401 +from .MSVC.Exceptions import MSVCSDKVersionNotFound # noqa: F401 +from .MSVC.Exceptions import MSVCToolsetVersionNotFound # noqa: F401 +from .MSVC.Exceptions import MSVCSpectreLibsNotFound # noqa: F401 +from .MSVC.Exceptions import MSVCArgumentError # noqa: F401 + +from .vc import MSVCUnsupportedHostArch # noqa: F401 +from .vc import MSVCUnsupportedTargetArch # noqa: F401 +from .vc import MSVCScriptNotFound # noqa: F401 +from .vc import MSVCUseSettingsError # noqa: F401 + # Local Variables: # tab-width:4 # indent-tabs-mode:nil |