Skip to content

Commit 1159dc2

Browse files
committed
Add linter exceptions to all __init__ imports
1 parent d315747 commit 1159dc2

File tree

7 files changed

+40
-39
lines changed

7 files changed

+40
-39
lines changed

src/compas_fab/backends/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
5151
"""
5252

53-
from .exceptions import *
54-
from .tasks import *
55-
from .ros.client import *
56-
from .ros.exceptions import *
57-
from .ros.fileserver_loader import *
58-
from .vrep.client import *
53+
from .exceptions import * # noqa: F401,F403
54+
from .tasks import * # noqa: F401,F403
55+
from .ros.client import * # noqa: F401,F403
56+
from .ros.exceptions import * # noqa: F401,F403
57+
from .ros.fileserver_loader import * # noqa: F401,F403
58+
from .vrep.client import * # noqa: F401,F403
5959

6060
__all__ = [name for name in dir() if not name.startswith('_')]

src/compas_fab/backends/ros/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919

2020
from __future__ import absolute_import
2121

22-
from .client import *
23-
from .exceptions import *
24-
from .fileserver_loader import *
25-
from .direct_ur_action_client import *
26-
from .messages import *
22+
from .client import * # noqa: F401,F403
23+
from .exceptions import * # noqa: F401,F403
24+
from .fileserver_loader import * # noqa: F401,F403
25+
from .direct_ur_action_client import * # noqa: F401,F403
26+
from .messages import * # noqa: F401,F403
2727

2828
__all__ = [name for name in dir() if not name.startswith('_')]
Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
from __future__ import absolute_import
22

3-
from .actionlib_msgs import *
4-
from .control_msgs import *
5-
from .geometry_msgs import *
6-
from .moveit_msgs import *
7-
from .object_recognition_msgs import *
8-
from .octomap_msgs import *
9-
from .sensor_msgs import *
10-
from .shape_msgs import *
11-
from .std_msgs import *
12-
from .trajectory_msgs import *
13-
14-
from .services import *
3+
from .actionlib_msgs import * # noqa: F401,F403
4+
from .control_msgs import * # noqa: F401,F403
5+
from .geometry_msgs import * # noqa: F401,F403
6+
from .moveit_msgs import * # noqa: F401,F403
7+
from .object_recognition_msgs import * # noqa: F401,F403
8+
from .octomap_msgs import * # noqa: F401,F403
9+
from .sensor_msgs import * # noqa: F401,F403
10+
from .services import * # noqa: F401,F403
11+
from .shape_msgs import * # noqa: F401,F403
12+
from .std_msgs import * # noqa: F401,F403
13+
from .trajectory_msgs import * # noqa: F401,F403

src/compas_fab/ghpython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"""
2727

2828
from .artists import RobotArtist
29-
from .path_planning import *
29+
from .path_planning import * # noqa: F401,F403
3030

3131
__all__ = ['RobotArtist', 'PathVisualizer']

src/compas_fab/robots/__init__.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@
6969
7070
"""
7171

72-
from .configuration import *
73-
from .constraints import *
74-
from .path_plan import *
75-
from .planning_scene import *
76-
from .units import *
77-
from .robot import *
78-
from .semantics import *
79-
from .time_ import *
80-
from .trajectory import *
72+
from .configuration import * # noqa: F401,F403
73+
from .constraints import * # noqa: F401,F403
74+
from .path_plan import * # noqa: F401,F403
75+
from .planning_scene import * # noqa: F401,F403
76+
from .units import * # noqa: F401,F403
77+
from .robot import * # noqa: F401,F403
78+
from .semantics import * # noqa: F401,F403
79+
from .time_ import * # noqa: F401,F403
80+
from .trajectory import * # noqa: F401,F403
8181

8282
__all__ = [name for name in dir() if not name.startswith('_')]

src/compas_fab/sensors/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
3333
"""
3434

35-
from .base import *
36-
from .baumer import *
35+
from .base import * # noqa: F401,F403
36+
from .baumer import * # noqa: F401,F403
3737

3838
__all__ = [name for name in dir() if not name.startswith('_')]

src/compas_fab/utilities/__init__.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242
4343
"""
4444

45-
from .file_io import *
46-
from .filesystem import *
47-
from .numbers import *
48-
from .utilities import *
45+
from .file_io import * # noqa: F401,F403
46+
from .filesystem import * # noqa: F401,F403
47+
from .numbers import * # noqa: F401,F403
48+
from .utilities import * # noqa: F401,F403
49+
50+
__all__ = [name for name in dir() if not name.startswith('_')]

0 commit comments

Comments
 (0)