Format Markdown files to comply with Linter

This commit is contained in:
Ole Schütt 2020-08-24 23:11:31 +02:00 committed by Ole Schütt
parent e71e4793a6
commit 243f8aaefc
32 changed files with 1008 additions and 577 deletions

View file

@ -167,7 +167,7 @@ def print_box(fn, message):
def process_file(fn, allow_modifications):
# Make a backup copy.
orig_content = Path(fn).read_bytes()
bak_fn = SCRATCH_DIR / f"{Path(fn).name}_{int(time())}.bak"
bak_fn = SCRATCH_DIR / f"{Path(fn).name}_{time()}.bak"
shutil.copy2(fn, bak_fn)
if re.match(r".*\.(F|fypp)$", fn):