build(ci): add black to ci flow

This commit is contained in:
nico 2022-11-16 22:13:30 +01:00
parent c7ab896881
commit 6cee20fae9
Signed by: mightyBroccoli
GPG Key ID: 1F6495B44DABCE6E
4 changed files with 13 additions and 5 deletions

View File

@ -8,6 +8,6 @@ setup(
"requests>=2.25",
"ruamel.yaml>=0.17",
"ruamel.yaml.clib>=0.2",
"urllib3>=1.26"
]
"urllib3>=1.26",
],
)

View File

@ -9,7 +9,6 @@ class ProcessBlocklist:
def __init__(self):
pass
@classmethod
def process(self, blacklist, outfile, dryrun: bool):
"""

View File

@ -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

View File

@ -91,4 +91,5 @@ class Blimp:
if __name__ == "__main__":
from blimp.cli import cli
cli()