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()