From 3228b45ceb6b09294bea77b6770e255be25cd327 Mon Sep 17 00:00:00 2001 From: Balduin Date: Thu, 6 Aug 2026 09:05:41 +0200 Subject: [PATCH] fix(docs): remove trailing newlines --- .../get_mode_requirements/get_mode_requirements.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/scripts/get_mode_requirements/get_mode_requirements.py b/docs/scripts/get_mode_requirements/get_mode_requirements.py index 2841a208d45..6688415b08e 100644 --- a/docs/scripts/get_mode_requirements/get_mode_requirements.py +++ b/docs/scripts/get_mode_requirements/get_mode_requirements.py @@ -424,7 +424,7 @@ This allows PX4 automatic flight modes that require a global position to be used with open(filename, 'w', encoding='utf-8') as f: # 'w' stands for 'write' mode, which creates the file or overwrites an existing one. f.write(mode_requirements_markdown) - + print(f"✅ Successfully wrote content to {filename}") except Exception as e: @@ -491,9 +491,3 @@ The following requirements must be met to arm in this mode, or to switch to this f"({vehicle_type}, {flight_mode})\n" f" • Re-running with --suppress_warnings to silence this warning" ) - - - - - -