Standarize indentation in all the .bst files
So they do not get modified when we run "bst track"
I have used the current script (Thanks @abderrahimk) (there is no a bst fmt
command (BuildStream/buildstream#485))
bst_fmt.py:
#!/usr/bin/python3
from ruamel.yaml import round_trip_load, round_trip_dump
import sys
for filename in sys.argv[1:]:
print(filename)
with open(filename) as f:
content = round_trip_load(f)
with open(filename, 'w') as f:
round_trip_dump(content, f)
Then:
find . -iname '*.bst' -exec ./bst_fmt.py {} \;
Part of #21 (closed)
Edited by Javier Jardón