python scripts: isort & black pass
This commit is contained in:
parent
58b4fbcdf0
commit
ca4c74e236
18 changed files with 47 additions and 42 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue