style: add trailing commas

This commit is contained in:
ptrcnull 2024-07-27 20:03:34 +02:00
parent 1cf39ad10b
commit e9f14a7525
3 changed files with 4 additions and 3 deletions

View file

@ -17,7 +17,7 @@ def main() -> None:
parser = argparse.ArgumentParser(
prog='nyacme',
description='fun uacme wrapper',
formatter_class=argparse.ArgumentDefaultsHelpFormatter
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
)
parser.add_argument('-c', '--config', help='path to your config file', default='/etc/nyacme.toml')
parser.add_argument('-o', '--output', help='path to the certificate output directory', default='/etc/ssl/uacme')
@ -63,7 +63,7 @@ def main() -> None:
'-b', '384',
'--type', 'EC',
# '--force',
'issue'
'issue',
] + uacme_domains, env=env)
if res.returncode == 0:

View file

@ -50,5 +50,5 @@ class CloudflareHandler(Handler):
self.run([
'dns', 'delete',
'--zone', self.zone,
'--id', record['ID']
'--id', record['ID'],
])

View file

@ -15,6 +15,7 @@ extend-select = [
"T20", # no print/pprint
"G001", # no str.format in logging
"C901", # check for complexity
"COM812", # trailing commas
]
[lint.flake8-quotes]