python scripts: isort & black pass

This commit is contained in:
Geoffrey Frogeye 2023-11-23 22:59:09 +01:00
parent 58b4fbcdf0
commit ca4c74e236
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
18 changed files with 47 additions and 42 deletions

View file

@ -1,11 +1,12 @@
#!/usr/bin/env python3
import argparse
import coloredlogs
import logging
import os
import sys
import coloredlogs
coloredlogs.install(level="DEBUG", fmt="%(levelname)s %(message)s")
log = logging.getLogger()
@ -155,7 +156,6 @@ def archive(docdir):
# If the directory doesn't exist, create the directories under it and move all the folder
else:
if args.dry:
print("mkdir -p", parentArcdir)
else:
@ -177,7 +177,6 @@ def unarchive(arcdir):
if __name__ == "__main__":
parser = argparse.ArgumentParser(
description="Place a folder in ~/Documents in ~/Documents/Archives and symlink it"
)