From bdcfa8fafac338c13e32cc31c420af236e41963c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:53:38 -0400 Subject: [PATCH] Fix Code Style On delete_maninpulator_node (#2084) automated style fixes Co-authored-by: sid-parikh --- rj_gameplay/stp/rc.py | 6 ++---- util/run-clang-tidy.py | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/rj_gameplay/stp/rc.py b/rj_gameplay/stp/rc.py index 3d911c510ed..7b0aaae001d 100644 --- a/rj_gameplay/stp/rc.py +++ b/rj_gameplay/stp/rc.py @@ -184,10 +184,8 @@ def lethal_fault(self) -> bool: """ if not self.is_ours: warnings.warn( - ( - "Attempting to retrieve lethal fault information from an opposing" - " robot" - ), + "Attempting to retrieve lethal fault information from an opposing" + " robot", RuntimeWarning, ) diff --git a/util/run-clang-tidy.py b/util/run-clang-tidy.py index 2e78ae61c6e..c306f551614 100644 --- a/util/run-clang-tidy.py +++ b/util/run-clang-tidy.py @@ -152,10 +152,8 @@ def check_clang_apply_replacements_binary(args): subprocess.check_call([args.clang_apply_replacements_binary, "--version"]) except: print( - ( - "Unable to run clang-apply-replacements. Is clang-apply-replacements " - "binary correctly specified?" - ), + "Unable to run clang-apply-replacements. Is clang-apply-replacements " + "binary correctly specified?", file=sys.stderr, ) traceback.print_exc()