Skip to content

Commit a22712b

Browse files
committed
linter fixes
1 parent e487b7a commit a22712b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

dojo/management/commands/migrate_endpoints_to_locations.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# Chunk size for DB cursor and progress report
1515
CHUNK_SIZE = 1000
1616

17+
1718
class Command(BaseCommand):
1819

1920
"""
@@ -105,8 +106,8 @@ def handle(self, *args, **options):
105106
if not i % CHUNK_SIZE:
106107
self.stdout.write(
107108
self.style.SUCCESS(
108-
f"Migrated {i}/{endpoint_count} endpoints..."
109-
)
109+
f"Migrated {i}/{endpoint_count} endpoints...",
110+
),
110111
)
111112
# Get the URL object first
112113
location = self._endpoint_to_url(endpoint)
@@ -115,6 +116,6 @@ def handle(self, *args, **options):
115116
self._associate_location_with_findings(endpoint, location)
116117
self.stdout.write(
117118
self.style.SUCCESS(
118-
f"Migrated {i} total endpoints."
119-
)
119+
f"Migrated {i} total endpoints.",
120+
),
120121
)

0 commit comments

Comments
 (0)