mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-26 05:05:16 -04:00
Format Markdown files to comply with Linter
This commit is contained in:
parent
e71e4793a6
commit
243f8aaefc
32 changed files with 1008 additions and 577 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue