build(ci): add black to ci flow
This commit is contained in:
parent
c7ab896881
commit
6cee20fae9
4
setup.py
4
setup.py
|
@ -8,6 +8,6 @@ setup(
|
|||
"requests>=2.25",
|
||||
"ruamel.yaml>=0.17",
|
||||
"ruamel.yaml.clib>=0.2",
|
||||
"urllib3>=1.26"
|
||||
]
|
||||
"urllib3>=1.26",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -9,7 +9,6 @@ class ProcessBlocklist:
|
|||
def __init__(self):
|
||||
pass
|
||||
|
||||
|
||||
@classmethod
|
||||
def process(self, blacklist, outfile, dryrun: bool):
|
||||
"""
|
||||
|
|
|
@ -7,8 +7,16 @@ from blimp.main import Blimp
|
|||
|
||||
def cli():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("-out", "--outfile", help="set path to output file", action="store", default=None)
|
||||
parser.add_argument("-dr", "--dry-run", help="perform a dry run", action="store_true", default=False)
|
||||
parser.add_argument(
|
||||
"-out",
|
||||
"--outfile",
|
||||
help="set path to output file",
|
||||
action="store",
|
||||
default=None,
|
||||
)
|
||||
parser.add_argument(
|
||||
"-dr", "--dry-run", help="perform a dry run", action="store_true", default=False
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
# run
|
||||
|
|
|
@ -91,4 +91,5 @@ class Blimp:
|
|||
|
||||
if __name__ == "__main__":
|
||||
from blimp.cli import cli
|
||||
|
||||
cli()
|
||||
|
|
Loading…
Reference in New Issue