mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
style: Apply linter formatting to redact-cast.py script
This commit is contained in:
parent
a24ff28031
commit
d84c755ee8
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ def process_file(input_path, output_path):
|
|||
if is_first_line:
|
||||
try:
|
||||
header = json.loads(line)
|
||||
if 'env' in header:
|
||||
del header['env']
|
||||
if "env" in header:
|
||||
del header["env"]
|
||||
outfile.write(json.dumps(header) + "\n")
|
||||
except json.JSONDecodeError:
|
||||
# If we can't parse the header, keep it as is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue