Use list instead of tuple for argparse options (#275)
Aparently pycharm has a problem with tuples?
This commit is contained in:
@@ -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.'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user