Use list instead of tuple for argparse options (#275)

Aparently pycharm has a problem with tuples?
This commit is contained in:
unloder
2018-12-19 18:57:49 +02:00
committed by Cristi Vîjdea
parent c5d4e6ca53
commit f66c8e83e6
@@ -43,7 +43,7 @@ class Command(BaseCommand):
) )
parser.add_argument( parser.add_argument(
'-f', '--format', dest='format', '-f', '--format', dest='format',
default='', choices=('json', 'yaml'), default='', choices=['json', 'yaml'],
type=str, type=str,
help='Output format. If not given, it is guessed from the output file extension and defaults to json.' help='Output format. If not given, it is guessed from the output file extension and defaults to json.'
) )