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

Aparently pycharm has a problem with tuples?
master
unloder 2018-12-19 18:57:49 +02:00 committed by Cristi Vîjdea
parent c5d4e6ca53
commit f66c8e83e6
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Command(BaseCommand):
)
parser.add_argument(
'-f', '--format', dest='format',
default='', choices=('json', 'yaml'),
default='', choices=['json', 'yaml'],
type=str,
help='Output format. If not given, it is guessed from the output file extension and defaults to json.'
)