move code linting to a stricter pep8-esque auto-formatting tool, black

This commit is contained in:
Ryan Petrello
2021-03-19 12:44:51 -04:00
parent 9b702e46fe
commit c2ef0a6500
671 changed files with 20538 additions and 21924 deletions

View File

@@ -10,13 +10,12 @@ class Command(BaseCommand):
help = (
"Remove an instance (specified by --hostname) from the specified queue (instance group).\n"
"In order remove the queue, use the `unregister_queue` command.")
"In order remove the queue, use the `unregister_queue` command."
)
def add_arguments(self, parser):
parser.add_argument('--queuename', dest='queuename', type=str,
help='Queue to be removed from')
parser.add_argument('--hostname', dest='hostname', type=str,
help='Host to remove from queue')
parser.add_argument('--queuename', dest='queuename', type=str, help='Queue to be removed from')
parser.add_argument('--hostname', dest='hostname', type=str, help='Host to remove from queue')
def handle(self, *arg, **options):
if not options.get('queuename'):