Skip to content

Commit eb70132

Browse files
committed
Silence ruff warnings in __init__.py
1 parent dfc0ead commit eb70132

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

control/__init__.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
# Import functions from within the control system library
7171
# Note: the functions we use are specified as __all__ variables in the modules
7272

73+
# don't warn about `import *`
74+
# ruff: noqa: F403
75+
# don't warn about unknown names; they come `import *`
76+
# ruff: noqa: F405
77+
7378
# Input/output system modules
7479
from .iosys import *
7580
from .nlsys import *
@@ -106,8 +111,8 @@
106111
from .sysnorm import *
107112

108113
# Allow access to phase_plane functions as ct.phaseplot.fcn or ct.pp.fcn
109-
from . import phaseplot
110-
from . import phaseplot as pp
114+
from . import phaseplot as phaseplot
115+
pp = phaseplot
111116

112117
# Exceptions
113118
from .exception import *

0 commit comments

Comments
 (0)