Skip to content

Commit

Permalink
IMPROVEMENT: pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Aug 1, 2024
1 parent 6cf98cf commit 041fb58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
max-line-length=127

[MESSAGES CONTROL]
disable=C0116,E0401
disable=missing-function-docstring,import-error

enable=useless-suppression
fail-on=useless-suppression
#fail-on=useless-suppression
3 changes: 2 additions & 1 deletion MethodicConfigurator/ardupilot_methodic_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ def main():

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

start_file = local_filesystem.get_start_file(args.n, 'INS_TCAL1_ENABLE' in flight_controller.fc_parameters or not flight_controller.fc_parameters)
imu_tcal_available = 'INS_TCAL1_ENABLE' in flight_controller.fc_parameters or not flight_controller.fc_parameters
start_file = local_filesystem.get_start_file(args.n, imu_tcal_available)

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

0 comments on commit 041fb58

Please sign in to comment.