Skip to content

Commit dccfec0

Browse files
authored
fix: pep8 names (#599)
1 parent e79229c commit dccfec0

File tree

65 files changed

+2294
-3738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+2294
-3738
lines changed

doc/source/_static/migration-tables/agi.stk12.graphics.xml

Lines changed: 54 additions & 54 deletions
Large diffs are not rendered by default.

doc/source/_static/migration-tables/agi.stk12.stkdesktop.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<Mapping ParentScope="ThreadMarshaller" OldName="ReleaseThread" NewName="release_thread" Category="method" />
55
<Mapping ParentScope="STKDesktopApplication" OldName="Root" NewName="root" Category="method" />
66
<Mapping ParentScope="STKDesktopApplication" OldName="NewObjectModelContext" NewName="new_object_model_context" Category="method" />
7+
<Mapping ParentScope="STKDesktopApplication" OldName="SetGrpcOptions" NewName="set_grpc_options" Category="method" />
8+
<Mapping ParentScope="STKDesktopApplication" OldName="NewGrpcCallBatcher" NewName="new_grpc_call_batcher" Category="method" />
79
<Mapping ParentScope="STKDesktopApplication" OldName="ShutDown" NewName="shutdown" Category="method" />
810
<Mapping ParentScope="STKDesktop" OldName="StartApplication" NewName="start_application" Category="method" />
911
<Mapping ParentScope="STKDesktop" OldName="AttachToApplication" NewName="attach_to_application" Category="method" />

doc/source/_static/migration-tables/agi.stk12.stkengine.__init__.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Mappings>
2-
<Mapping OldName="STKEngineTimerType" NewName="STK_ENGINE_TIMER_TYPE" Category="enum_type" />
32
<Mapping ParentScope="STKEngineTimerType" OldName="DisableTimers" NewName="DISABLE_TIMERS" Category="enum_value" />
43
<Mapping ParentScope="STKEngineTimerType" OldName="TkinterMainloop" NewName="TKINTER_MAIN_LOOP" Category="enum_value" />
54
<Mapping ParentScope="STKEngineTimerType" OldName="InteractivePython" NewName="INTERACTIVE_PYTHON" Category="enum_value" />
@@ -9,6 +8,8 @@
98
<Mapping ParentScope="STKEngineApplication" OldName="_STKXInitializeTimer" NewName="_stkx_intialize_timer" Category="method" />
109
<Mapping ParentScope="STKEngineApplication" OldName="NewObjectRoot" NewName="new_object_root" Category="method" />
1110
<Mapping ParentScope="STKEngineApplication" OldName="NewObjectModelContext" NewName="new_object_model_context" Category="method" />
11+
<Mapping ParentScope="STKEngineApplication" OldName="SetGrpcOptions" NewName="set_grpc_options" Category="method" />
12+
<Mapping ParentScope="STKEngineApplication" OldName="NewGrpcCallBatcher" NewName="new_grpc_call_batcher" Category="method" />
1213
<Mapping ParentScope="STKEngineApplication" OldName="ShutDown" NewName="shutdown" Category="method" />
1314
<Mapping ParentScope="STKEngine" OldName="StartApplication" NewName="start_application" Category="method" />
1415
<Mapping ParentScope="STKEngine" OldName="_initX11" NewName="_init_x11" Category="method" />

doc/source/_static/migration-tables/agi.stk12.stkobjects.__init__.xml

Lines changed: 387 additions & 387 deletions
Large diffs are not rendered by default.

doc/source/_static/migration-tables/agi.stk12.stkobjects.astrogator.xml

Lines changed: 154 additions & 154 deletions
Large diffs are not rendered by default.

doc/source/_static/migration-tables/agi.stk12.stkobjects.aviator.__init__.xml

Lines changed: 134 additions & 134 deletions
Large diffs are not rendered by default.

doc/source/_static/migration-tables/agi.stk12.stkobjects.aviator.matlab.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Mappings>
2-
<Mapping OldName="AgEAvtrClosureMode" NewName="CLOSURE_MODE" Category="enum_type" />
2+
<Mapping OldName="AgEAvtrClosureMode" NewName="ClosureMode" Category="enum_type" />
33
<Mapping OldName="IAgAvtrStrategyMATLABNav" NewName="StrategyMATLABNavigation" Category="interface" />
44
<Mapping ParentScope="IAgAvtrStrategyMATLABNav" OldName="FunctionName" NewName="function_name" Category="method" />
55
<Mapping ParentScope="IAgAvtrStrategyMATLABNav" OldName="IsFunctionPathValid" NewName="is_function_path_valid" Category="method" />

doc/source/_static/migration-tables/agi.stk12.stkruntime.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<Mappings>
22
<Mapping ParentScope="STKRuntimeApplication" OldName="NewObjectRoot" NewName="new_object_root" Category="method" />
33
<Mapping ParentScope="STKRuntimeApplication" OldName="NewObjectModelContext" NewName="new_object_model_context" Category="method" />
4+
<Mapping ParentScope="STKRuntimeApplication" OldName="SetGrpcOptions" NewName="set_grpc_options" Category="method" />
5+
<Mapping ParentScope="STKRuntimeApplication" OldName="NewGrpcCallBatcher" NewName="new_grpc_call_batcher" Category="method" />
46
<Mapping ParentScope="STKRuntimeApplication" OldName="ShutDown" NewName="shutdown" Category="method" />
57
<Mapping ParentScope="STKRuntime" OldName="StartApplication" NewName="start_application" Category="method" />
68
<Mapping ParentScope="STKRuntime" OldName="AttachToApplication" NewName="attach_to_application" Category="method" />

doc/source/_static/migration-tables/agi.stk12.stkutil.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@
66
<Mapping ParentScope="AgEPositionType" OldName="eSpherical" NewName="SPHERICAL" Category="enum_value" />
77
<Mapping ParentScope="AgEPositionType" OldName="ePlanetocentric" NewName="PLANETOCENTRIC" Category="enum_value" />
88
<Mapping ParentScope="AgEPositionType" OldName="ePlanetodetic" NewName="PLANETODETIC" Category="enum_value" />
9-
<Mapping OldName="AgEPositionType" NewName="POSITION_TYPE" Category="enum_type" />
9+
<Mapping OldName="AgEPositionType" NewName="PositionType" Category="enum_type" />
1010
<Mapping ParentScope="AgEEulerDirectionSequence" OldName="e12" NewName="SEQUENCE_12" Category="enum_value" />
1111
<Mapping ParentScope="AgEEulerDirectionSequence" OldName="e21" NewName="SEQUENCE_21" Category="enum_value" />
1212
<Mapping ParentScope="AgEEulerDirectionSequence" OldName="e31" NewName="SEQUENCE_31" Category="enum_value" />
1313
<Mapping ParentScope="AgEEulerDirectionSequence" OldName="e32" NewName="SEQUENCE_32" Category="enum_value" />
14-
<Mapping OldName="AgEEulerDirectionSequence" NewName="EULER_DIRECTION_SEQUENCE" Category="enum_type" />
14+
<Mapping OldName="AgEEulerDirectionSequence" NewName="EulerDirectionSequence" Category="enum_type" />
1515
<Mapping ParentScope="AgEDirectionType" OldName="eDirEuler" NewName="EULER" Category="enum_value" />
1616
<Mapping ParentScope="AgEDirectionType" OldName="eDirPR" NewName="PR" Category="enum_value" />
1717
<Mapping ParentScope="AgEDirectionType" OldName="eDirRADec" NewName="RA_DEC" Category="enum_value" />
1818
<Mapping ParentScope="AgEDirectionType" OldName="eDirXYZ" NewName="XYZ" Category="enum_value" />
19-
<Mapping OldName="AgEDirectionType" NewName="DIRECTION_TYPE" Category="enum_type" />
19+
<Mapping OldName="AgEDirectionType" NewName="DirectionType" Category="enum_type" />
2020
<Mapping ParentScope="AgEPRSequence" OldName="ePR" NewName="PR" Category="enum_value" />
21-
<Mapping OldName="AgEPRSequence" NewName="PR_SEQUENCE" Category="enum_type" />
21+
<Mapping OldName="AgEPRSequence" NewName="PRSequence" Category="enum_type" />
2222
<Mapping ParentScope="AgEOrientationType" OldName="eAzEl" NewName="AZ_EL" Category="enum_value" />
2323
<Mapping ParentScope="AgEOrientationType" OldName="eEulerAngles" NewName="EULER_ANGLES" Category="enum_value" />
2424
<Mapping ParentScope="AgEOrientationType" OldName="eQuaternion" NewName="QUATERNION" Category="enum_value" />
2525
<Mapping ParentScope="AgEOrientationType" OldName="eYPRAngles" NewName="YPR_ANGLES" Category="enum_value" />
26-
<Mapping OldName="AgEOrientationType" NewName="ORIENTATION_TYPE" Category="enum_type" />
26+
<Mapping OldName="AgEOrientationType" NewName="OrientationType" Category="enum_type" />
2727
<Mapping ParentScope="AgEAzElAboutBoresight" OldName="eAzElAboutBoresightHold" NewName="HOLD" Category="enum_value" />
2828
<Mapping ParentScope="AgEAzElAboutBoresight" OldName="eAzElAboutBoresightRotate" NewName="ROTATE" Category="enum_value" />
29-
<Mapping OldName="AgEAzElAboutBoresight" NewName="AZ_EL_ABOUT_BORESIGHT" Category="enum_type" />
29+
<Mapping OldName="AgEAzElAboutBoresight" NewName="AzElAboutBoresight" Category="enum_type" />
3030
<Mapping ParentScope="AgEEulerOrientationSequence" OldName="e121" NewName="SEQUENCE_121" Category="enum_value" />
3131
<Mapping ParentScope="AgEEulerOrientationSequence" OldName="e123" NewName="SEQUENCE_123" Category="enum_value" />
3232
<Mapping ParentScope="AgEEulerOrientationSequence" OldName="e131" NewName="SEQUENCE_131" Category="enum_value" />
@@ -39,22 +39,22 @@
3939
<Mapping ParentScope="AgEEulerOrientationSequence" OldName="e313" NewName="SEQUENCE_313" Category="enum_value" />
4040
<Mapping ParentScope="AgEEulerOrientationSequence" OldName="e321" NewName="SEQUENCE_321" Category="enum_value" />
4141
<Mapping ParentScope="AgEEulerOrientationSequence" OldName="e323" NewName="SEQUENCE_323" Category="enum_value" />
42-
<Mapping OldName="AgEEulerOrientationSequence" NewName="EULER_ORIENTATION_SEQUENCE_TYPE" Category="enum_type" />
42+
<Mapping OldName="AgEEulerOrientationSequence" NewName="EulerOrientationSequenceType" Category="enum_type" />
4343
<Mapping ParentScope="AgEYPRAnglesSequence" OldName="ePRY" NewName="PRY" Category="enum_value" />
4444
<Mapping ParentScope="AgEYPRAnglesSequence" OldName="ePYR" NewName="PYR" Category="enum_value" />
4545
<Mapping ParentScope="AgEYPRAnglesSequence" OldName="eRPY" NewName="RPY" Category="enum_value" />
4646
<Mapping ParentScope="AgEYPRAnglesSequence" OldName="eRYP" NewName="RYP" Category="enum_value" />
4747
<Mapping ParentScope="AgEYPRAnglesSequence" OldName="eYPR" NewName="YPR" Category="enum_value" />
4848
<Mapping ParentScope="AgEYPRAnglesSequence" OldName="eYRP" NewName="YRP" Category="enum_value" />
49-
<Mapping OldName="AgEYPRAnglesSequence" NewName="YPR_ANGLES_SEQUENCE" Category="enum_type" />
49+
<Mapping OldName="AgEYPRAnglesSequence" NewName="YPRAnglesSequence" Category="enum_type" />
5050
<Mapping ParentScope="AgEOrbitStateType" OldName="eOrbitStateCartesian" NewName="CARTESIAN" Category="enum_value" />
5151
<Mapping ParentScope="AgEOrbitStateType" OldName="eOrbitStateClassical" NewName="CLASSICAL" Category="enum_value" />
5252
<Mapping ParentScope="AgEOrbitStateType" OldName="eOrbitStateEquinoctial" NewName="EQUINOCTIAL" Category="enum_value" />
5353
<Mapping ParentScope="AgEOrbitStateType" OldName="eOrbitStateDelaunay" NewName="DELAUNAY" Category="enum_value" />
5454
<Mapping ParentScope="AgEOrbitStateType" OldName="eOrbitStateSpherical" NewName="SPHERICAL" Category="enum_value" />
5555
<Mapping ParentScope="AgEOrbitStateType" OldName="eOrbitStateMixedSpherical" NewName="MIXED_SPHERICAL" Category="enum_value" />
5656
<Mapping ParentScope="AgEOrbitStateType" OldName="eOrbitStateGeodetic" NewName="GEODETIC" Category="enum_value" />
57-
<Mapping OldName="AgEOrbitStateType" NewName="ORBIT_STATE_TYPE" Category="enum_type" />
57+
<Mapping OldName="AgEOrbitStateType" NewName="OrbitStateType" Category="enum_type" />
5858
<Mapping ParentScope="AgECoordinateSystem" OldName="eCoordinateSystemUnknown" NewName="UNKNOWN" Category="enum_value" />
5959
<Mapping ParentScope="AgECoordinateSystem" OldName="eCoordinateSystemAlignmentAtEpoch" NewName="ALIGNMENT_AT_EPOCH" Category="enum_value" />
6060
<Mapping ParentScope="AgECoordinateSystem" OldName="eCoordinateSystemB1950" NewName="B1950" Category="enum_value" />
@@ -79,18 +79,18 @@
7979
<Mapping ParentScope="AgECoordinateSystem" OldName="eCoordinateSystemPrincipalAxes430" NewName="PRINCIPAL_AXES430" Category="enum_value" />
8080
<Mapping ParentScope="AgECoordinateSystem" OldName="eCoordinateSystemTrueOfDateRotating" NewName="TRUE_OF_DATE_ROTATING" Category="enum_value" />
8181
<Mapping ParentScope="AgECoordinateSystem" OldName="eCoordinateSystemEclipticJ2000ICRF" NewName="ECLIPTIC_J2000ICRF" Category="enum_value" />
82-
<Mapping OldName="AgECoordinateSystem" NewName="COORDINATE_SYSTEM" Category="enum_type" />
82+
<Mapping OldName="AgECoordinateSystem" NewName="CoordinateSystem" Category="enum_type" />
8383
<Mapping ParentScope="AgELogMsgType" OldName="eLogMsgDebug" NewName="DEBUG" Category="enum_value" />
8484
<Mapping ParentScope="AgELogMsgType" OldName="eLogMsgInfo" NewName="INFO" Category="enum_value" />
8585
<Mapping ParentScope="AgELogMsgType" OldName="eLogMsgForceInfo" NewName="FORCE_INFO" Category="enum_value" />
8686
<Mapping ParentScope="AgELogMsgType" OldName="eLogMsgWarning" NewName="WARNING" Category="enum_value" />
8787
<Mapping ParentScope="AgELogMsgType" OldName="eLogMsgAlarm" NewName="ALARM" Category="enum_value" />
88-
<Mapping OldName="AgELogMsgType" NewName="LOG_MESSAGE_TYPE" Category="enum_type" />
88+
<Mapping OldName="AgELogMsgType" NewName="LogMessageType" Category="enum_type" />
8989
<Mapping ParentScope="AgELogMsgDispID" OldName="eLogMsgDispAll" NewName="ALL" Category="enum_value" />
9090
<Mapping ParentScope="AgELogMsgDispID" OldName="eLogMsgDispDefault" NewName="DEFAULT" Category="enum_value" />
9191
<Mapping ParentScope="AgELogMsgDispID" OldName="eLogMsgDispMsgWin" NewName="MESSAGE_WINDOW" Category="enum_value" />
9292
<Mapping ParentScope="AgELogMsgDispID" OldName="eLogMsgDispStatusBar" NewName="STATUS_BAR" Category="enum_value" />
93-
<Mapping OldName="AgELogMsgDispID" NewName="LOG_MESSAGE_DISPLAY_ID" Category="enum_type" />
93+
<Mapping OldName="AgELogMsgDispID" NewName="LogMessageDisplayID" Category="enum_type" />
9494
<Mapping ParentScope="AgELineStyle" OldName="eSolid" NewName="SOLID" Category="enum_value" />
9595
<Mapping ParentScope="AgELineStyle" OldName="eDashed" NewName="DASHED" Category="enum_value" />
9696
<Mapping ParentScope="AgELineStyle" OldName="eDotted" NewName="DOTTED" Category="enum_value" />
@@ -109,12 +109,12 @@
109109
<Mapping ParentScope="AgELineStyle" OldName="eDot" NewName="DOT" Category="enum_value" />
110110
<Mapping ParentScope="AgELineStyle" OldName="eLongDash" NewName="LONG_DASH" Category="enum_value" />
111111
<Mapping ParentScope="AgELineStyle" OldName="eSDash" NewName="S_DASH" Category="enum_value" />
112-
<Mapping OldName="AgELineStyle" NewName="LINE_STYLE" Category="enum_type" />
112+
<Mapping OldName="AgELineStyle" NewName="LineStyle" Category="enum_type" />
113113
<Mapping ParentScope="AgEExecMultiCmdResultAction" OldName="eContinueOnError" NewName="CONTINUE_ON_ERROR" Category="enum_value" />
114114
<Mapping ParentScope="AgEExecMultiCmdResultAction" OldName="eStopOnError" NewName="STOP_ON_ERROR" Category="enum_value" />
115115
<Mapping ParentScope="AgEExecMultiCmdResultAction" OldName="eExceptionOnError" NewName="EXCEPTION_ON_ERROR" Category="enum_value" />
116116
<Mapping ParentScope="AgEExecMultiCmdResultAction" OldName="eIgnoreExecCmdResult" NewName="DISCARD_RESULTS" Category="enum_value" />
117-
<Mapping OldName="AgEExecMultiCmdResultAction" NewName="EXECUTE_MULTIPLE_COMMANDS_MODE" Category="enum_type" />
117+
<Mapping OldName="AgEExecMultiCmdResultAction" NewName="ExecuteMultipleCommandsMode" Category="enum_type" />
118118
<Mapping ParentScope="AgEFillStyle" OldName="eFillStyleSolid" NewName="SOLID" Category="enum_value" />
119119
<Mapping ParentScope="AgEFillStyle" OldName="eFillStyleHorizontalStripe" NewName="HORIZONTAL_STRIPE" Category="enum_value" />
120120
<Mapping ParentScope="AgEFillStyle" OldName="eFillStyleDiagonalStripe1" NewName="DIAGONAL_STRIPE1" Category="enum_value" />
@@ -123,15 +123,15 @@
123123
<Mapping ParentScope="AgEFillStyle" OldName="eFillStyleDiagonalHatch" NewName="DIAGONAL_HATCH" Category="enum_value" />
124124
<Mapping ParentScope="AgEFillStyle" OldName="eFillStyleScreen" NewName="SCREEN" Category="enum_value" />
125125
<Mapping ParentScope="AgEFillStyle" OldName="eFillStyleVerticalStripe" NewName="VERTICAL_STRIPE" Category="enum_value" />
126-
<Mapping OldName="AgEFillStyle" NewName="FILL_STYLE" Category="enum_type" />
126+
<Mapping OldName="AgEFillStyle" NewName="FillStyle" Category="enum_type" />
127127
<Mapping ParentScope="AgEPropertyInfoValueType" OldName="ePropertyInfoValueTypeInt" NewName="INT" Category="enum_value" />
128128
<Mapping ParentScope="AgEPropertyInfoValueType" OldName="ePropertyInfoValueTypeReal" NewName="REAL" Category="enum_value" />
129129
<Mapping ParentScope="AgEPropertyInfoValueType" OldName="ePropertyInfoValueTypeQuantity" NewName="QUANTITY" Category="enum_value" />
130130
<Mapping ParentScope="AgEPropertyInfoValueType" OldName="ePropertyInfoValueTypeDate" NewName="DATE" Category="enum_value" />
131131
<Mapping ParentScope="AgEPropertyInfoValueType" OldName="ePropertyInfoValueTypeString" NewName="STRING" Category="enum_value" />
132132
<Mapping ParentScope="AgEPropertyInfoValueType" OldName="ePropertyInfoValueTypeBool" NewName="BOOL" Category="enum_value" />
133133
<Mapping ParentScope="AgEPropertyInfoValueType" OldName="ePropertyInfoValueTypeInterface" NewName="INTERFACE" Category="enum_value" />
134-
<Mapping OldName="AgEPropertyInfoValueType" NewName="PROPERTY_INFO_VALUE_TYPE" Category="enum_type" />
134+
<Mapping OldName="AgEPropertyInfoValueType" NewName="PropertyInfoValueType" Category="enum_type" />
135135
<Mapping OldName="IAgLocationData" NewName="ILocationData" Category="interface" />
136136
<Mapping OldName="IAgPosition" NewName="IPosition" Category="interface" />
137137
<Mapping ParentScope="IAgPosition" OldName="ConvertTo" NewName="convert_to" Category="method" />

0 commit comments

Comments
 (0)