style: Apply linter formatting to redact-cast.py script

This commit is contained in:
Paul Gauthier (aider) 2025-03-12 13:28:06 -07:00
parent a24ff28031
commit d84c755ee8

View file

@ -46,8 +46,8 @@ def process_file(input_path, output_path):
if is_first_line: if is_first_line:
try: try:
header = json.loads(line) header = json.loads(line)
if 'env' in header: if "env" in header:
del header['env'] del header["env"]
outfile.write(json.dumps(header) + "\n") outfile.write(json.dumps(header) + "\n")
except json.JSONDecodeError: except json.JSONDecodeError:
# If we can't parse the header, keep it as is # If we can't parse the header, keep it as is