mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24: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:
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue