Skip to content

Commit a1c1fcb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fc646b2 commit a1c1fcb

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

Framework/PythonInterface/mantid/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ def _bin_dirs():
108108
from mantid import dataobjects as _dataobjects # noqa: F401
109109

110110
# Make the aliases from each module accessible in the mantid namespace
111-
from mantid.kernel._aliases import * # noqa: F403
112-
from mantid.api._aliases import * # noqa: F403
111+
from mantid.kernel._aliases import *
112+
from mantid.api._aliases import *
113113

114114
# Make the version string and info accessible in the standard way
115115
from mantid.kernel import version_str as _version_str

Framework/PythonInterface/mantid/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040
###############################################################################
4141
# Make aliases accessible in this namespace
4242
###############################################################################
43-
from mantid.api._aliases import * # noqa: F403
43+
from mantid.api._aliases import *

Framework/PythonInterface/mantid/geometry/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
###############################################################################
2323
# Make aliases accessible in this namespace
2424
###############################################################################
25-
from mantid.geometry._aliases import * # noqa: F403
25+
from mantid.geometry._aliases import *

Framework/PythonInterface/mantid/kernel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
# insert all the classes from _kernel in the mantid.kernel namespace
3737
import_mantid_cext("._kernel", "mantid.kernel", globals())
3838

39-
from mantid.kernel._aliases import * # noqa: F403
39+
from mantid.kernel._aliases import *
4040
from mantid.kernel.AmendConfig import amend_config # noqa: F401
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from .dataclasses import * # noqa: F403
1+
from .dataclasses import *

Framework/PythonInterface/mantid/simpleapi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
except ImportError:
5757
pass # matplotlib is unavailable
5858

59-
from mantid.kernel._aliases import * # noqa: F403
60-
from mantid.api._aliases import * # noqa: F403
61-
from mantid.fitfunctions import * # noqa: F403
59+
from mantid.kernel._aliases import *
60+
from mantid.api._aliases import *
61+
from mantid.fitfunctions import *
6262

6363
MODULE_NAME = "simpleapi"
6464

Framework/PythonInterface/mantid/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# NScD Oak Ridge National Laboratory, European Spallation Source,
55
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
66
# SPDX - License - Identifier: GPL - 3.0 +
7-
from ._utils import * # noqa: F403
7+
from ._utils import *

scripts/reduction/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# NScD Oak Ridge National Laboratory, European Spallation Source,
55
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
66
# SPDX - License - Identifier: GPL - 3.0 +
7-
from reduction.reducer import * # noqa: F403
8-
from reduction.instrument import * # noqa: F403
7+
from reduction.reducer import *
8+
from reduction.instrument import *
99
from reduction.find_data import find_data, find_file # noqa: F401

scripts/reduction_workflow/instruments/sans/sns_command_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
# Import the specific commands that we need - some of these are used in systemtests
13-
from reduction_workflow.command_interface import * # noqa: F403
13+
from reduction_workflow.command_interface import *
1414

1515
# The following imports allow users to import this file and have all functionality automatically imported
1616
# Do not remove these imports as it will break user scripts which rely on them

0 commit comments

Comments
 (0)