mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-05 03:57:25 +02:00
Linting pt 2
This commit is contained in:
parent
a7ef0cfa03
commit
0e92cd41db
2 changed files with 3 additions and 3 deletions
|
@ -19,5 +19,6 @@ class Command(BaseCommand, PopulateScriptTemplate):
|
|||
"""Defines how we update the verification_type field"""
|
||||
field_to_update.set_user_verification_type()
|
||||
logger.info(
|
||||
f"{TerminalColors.OKCYAN}Updating {field_to_update} => {field_to_update.verification_type}{TerminalColors.OKCYAN}"
|
||||
f"{TerminalColors.OKCYAN}Updating {field_to_update} => "
|
||||
f"{field_to_update.verification_type}{TerminalColors.OKCYAN}"
|
||||
)
|
||||
|
|
|
@ -3,7 +3,6 @@ import sys
|
|||
from abc import ABC, abstractmethod
|
||||
from django.core.paginator import Paginator
|
||||
from typing import List
|
||||
from django.core.management import BaseCommand
|
||||
from registrar.utility.enums import LogCode
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -106,7 +105,7 @@ class PopulateScriptTemplate(ABC):
|
|||
@abstractmethod
|
||||
def populate_field(self, field_to_update):
|
||||
"""Defines how we update each field. Must be defined before using mass_populate_field."""
|
||||
pass
|
||||
pass # noqa
|
||||
|
||||
|
||||
class TerminalHelper:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue