diff --git a/bakerydemo/base/management/commands/load_initial_data.py b/bakerydemo/base/management/commands/load_initial_data.py index 7d53ae9..fe4ca8a 100644 --- a/bakerydemo/base/management/commands/load_initial_data.py +++ b/bakerydemo/base/management/commands/load_initial_data.py @@ -26,7 +26,7 @@ class Command(BaseCommand): fixtures_dir = os.path.join(settings.PROJECT_DIR, "base", "fixtures") fixture_file = os.path.join(fixtures_dir, "bakerydemo.json") - print("Copying media files to configured storage...") + print("Copying media files to configured storage...") # noqa: T201 local_storage = FileSystemStorage(os.path.join(fixtures_dir, "media")) self._copy_files(local_storage, "") # file storage paths are relative @@ -40,6 +40,6 @@ class Command(BaseCommand): call_command("loaddata", fixture_file, verbosity=0) call_command("update_index", verbosity=0) - print( + print( # noqa: T201 "Awesome. Your data is loaded! The bakery's doors are almost ready to open..." ) diff --git a/bakerydemo/settings/production.py b/bakerydemo/settings/production.py index 5468f3d..cddf875 100644 --- a/bakerydemo/settings/production.py +++ b/bakerydemo/settings/production.py @@ -14,7 +14,7 @@ if "DJANGO_SECRET_KEY" in os.environ: SECRET_KEY = os.environ["DJANGO_SECRET_KEY"] else: # Use if/else rather than a default value to avoid calculating this if we don't need it - print( + print( # noqa: T201 "WARNING: DJANGO_SECRET_KEY not found in os.environ. Generating ephemeral SECRET_KEY." ) SECRET_KEY = "".join(