From 2b201403e8cab9b70c722c80b3f3b6e723ab1570 Mon Sep 17 00:00:00 2001 From: Birger Schacht Date: Mon, 23 Sep 2024 13:00:49 +0200 Subject: [PATCH] style(apis_ontology): make noqa comments adhere to style --- apis_ontology/management/commands/02_import_relations.py | 2 +- apis_ontology/settings.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apis_ontology/management/commands/02_import_relations.py b/apis_ontology/management/commands/02_import_relations.py index 5df8b45..c002eae 100644 --- a/apis_ontology/management/commands/02_import_relations.py +++ b/apis_ontology/management/commands/02_import_relations.py @@ -118,7 +118,7 @@ def import_relations(): if username: user_cache[username], _ = User.objects.get_or_create(username=username) - l = len(relations) # noqa: E741 + l = len(relations) # noqa: E741 p = 0 for id, relation in relations.items(): diff --git a/apis_ontology/settings.py b/apis_ontology/settings.py index 990e950..1a372f5 100644 --- a/apis_ontology/settings.py +++ b/apis_ontology/settings.py @@ -1,8 +1,8 @@ -from apis_acdhch_default_settings.settings import * # noqa: F403 +from apis_acdhch_default_settings.settings import * # noqa: F403 DEBUG = True -INSTALLED_APPS += [ # noqa: F405 +INSTALLED_APPS += [ # noqa: F405 "apis_highlighter", "django.contrib.postgres", "apis_core.collections", @@ -47,7 +47,7 @@ LANGUAGE_CODE = "de" -MIDDLEWARE += [ # noqa: F405 +MIDDLEWARE += [ # noqa: F405 "auditlog.middleware.AuditlogMiddleware", "simple_history.middleware.HistoryRequestMiddleware", ]