Skip to content

Commit 041fb58

Browse files
committed
IMPROVEMENT: pylint fixes
1 parent 6cf98cf commit 041fb58

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.pylintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
max-line-length=127
33

44
[MESSAGES CONTROL]
5-
disable=C0116,E0401
5+
disable=missing-function-docstring,import-error
66

77
enable=useless-suppression
8-
fail-on=useless-suppression
8+
#fail-on=useless-suppression

MethodicConfigurator/ardupilot_methodic_configurator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ def main():
136136

137137
component_editor(args, flight_controller, local_filesystem.vehicle_type, local_filesystem, vehicle_dir_window)
138138

139-
start_file = local_filesystem.get_start_file(args.n, 'INS_TCAL1_ENABLE' in flight_controller.fc_parameters or not flight_controller.fc_parameters)
139+
imu_tcal_available = 'INS_TCAL1_ENABLE' in flight_controller.fc_parameters or not flight_controller.fc_parameters
140+
start_file = local_filesystem.get_start_file(args.n, imu_tcal_available)
140141

141142
# Call the GUI function with the starting intermediate parameter file
142143
ParameterEditorWindow(start_file, flight_controller, local_filesystem, VERSION)

0 commit comments

Comments
 (0)