Add Dj3.1 support and update flake8 and black versions

This commit is contained in:
David-Wobrock authored and David Wobrock committed 2020-10-10 18:14:56 +02:00
1 parent 39a21ad46a
commit 50294a213b
7 files changed
+24 -6

No files matched your search

@@ -31,7 +31,9 @@ class Command(MakeMigrationsCommand):
def add_arguments(self, parser):
super(Command, self).add_arguments(parser)
parser.add_argument(
"--lint", action="store_true", help="Lint newly generated migrations.",
"--lint",
action="store_true",
help="Lint newly generated migrations.",
)
register_linting_configuration_options(parser)
+3 -1
View File
@@ -17,5 +17,7 @@ def register_linting_configuration_options(parser):
)
parser.add_argument(
"--warnings-as-errors", action="store_true", help="handle warnings as errors",
"--warnings-as-errors",
action="store_true",
help="handle warnings as errors",
)