From ffff82396e50db71a54ff2206e0b8024309cf937 Mon Sep 17 00:00:00 2001 From: Anna Shamray Date: Tue, 12 Sep 2023 17:51:59 +0200 Subject: [PATCH] :art: black --- testapp/migrations/0001_initial.py | 1 - testapp/migrations/0002_auto_20221115_0738.py | 1 - testapp/migrations/0003_auto_20221115_1018.py | 1 - testapp/settings.py | 6 +++--- zgw_consumers/client.py | 1 - zgw_consumers/migrations/0001_initial.py | 1 - zgw_consumers/migrations/0002_auto_20190514_0944.py | 1 - zgw_consumers/migrations/0003_auto_20190514_1009.py | 1 - zgw_consumers/migrations/0004_auto_20200113_1728.py | 1 - zgw_consumers/migrations/0005_auto_20200326_1040.py | 1 - zgw_consumers/migrations/0007_service_nlx.py | 1 - zgw_consumers/migrations/0008_auto_20200331_1400.py | 1 - zgw_consumers/migrations/0009_auto_20200401_0829.py | 1 - zgw_consumers/migrations/0010_nlxconfig.py | 1 - zgw_consumers/migrations/0011_remove_service_extra.py | 1 - zgw_consumers/migrations/0012_auto_20210104_1039.py | 1 - zgw_consumers/migrations/0013_oas_field.py | 1 - zgw_consumers/migrations/0014_auto_20211217_1557.py | 1 - zgw_consumers/migrations/0015_auto_20220307_1522.py | 1 - zgw_consumers/migrations/0016_auto_20220818_1412.py | 1 - 20 files changed, 3 insertions(+), 22 deletions(-) diff --git a/testapp/migrations/0001_initial.py b/testapp/migrations/0001_initial.py index 4df6360..dca7747 100644 --- a/testapp/migrations/0001_initial.py +++ b/testapp/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/testapp/migrations/0002_auto_20221115_0738.py b/testapp/migrations/0002_auto_20221115_0738.py index f69100a..d29ce0d 100644 --- a/testapp/migrations/0002_auto_20221115_0738.py +++ b/testapp/migrations/0002_auto_20221115_0738.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("testapp", "0001_initial"), ] diff --git a/testapp/migrations/0003_auto_20221115_1018.py b/testapp/migrations/0003_auto_20221115_1018.py index 2537b85..855589a 100644 --- a/testapp/migrations/0003_auto_20221115_1018.py +++ b/testapp/migrations/0003_auto_20221115_1018.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("testapp", "0002_auto_20221115_0738"), ] diff --git a/testapp/settings.py b/testapp/settings.py index 3f1c7c0..3196fe5 100644 --- a/testapp/settings.py +++ b/testapp/settings.py @@ -7,10 +7,10 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql", - "HOST": os.getenv("DB_HOST", ""), + "HOST": os.getenv("DB_HOST", "localhost"), "NAME": os.getenv("DB_NAME", "zgw_consumers"), - "USER": os.getenv("DB_USER", "postgres"), - "PASSWORD": os.getenv("DB_PASSWORD", ""), + "USER": os.getenv("DB_USER", "zgw_consumers"), + "PASSWORD": os.getenv("DB_PASSWORD", "zgw_consumers"), }, } diff --git a/zgw_consumers/client.py b/zgw_consumers/client.py index 0ea7f4a..4e92bc2 100644 --- a/zgw_consumers/client.py +++ b/zgw_consumers/client.py @@ -91,7 +91,6 @@ def request( request_kwargs: Optional[dict] = None, **kwargs, ) -> Union[List[Object], Object]: - if self.server_certificate_path: kwargs.update({"verify": self.server_certificate_path}) diff --git a/zgw_consumers/migrations/0001_initial.py b/zgw_consumers/migrations/0001_initial.py index 5652d1b..876df82 100644 --- a/zgw_consumers/migrations/0001_initial.py +++ b/zgw_consumers/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/zgw_consumers/migrations/0002_auto_20190514_0944.py b/zgw_consumers/migrations/0002_auto_20190514_0944.py index a3c28e7..60e2f62 100644 --- a/zgw_consumers/migrations/0002_auto_20190514_0944.py +++ b/zgw_consumers/migrations/0002_auto_20190514_0944.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [("zgw_consumers", "0001_initial")] operations = [ diff --git a/zgw_consumers/migrations/0003_auto_20190514_1009.py b/zgw_consumers/migrations/0003_auto_20190514_1009.py index 7649f63..fc07e34 100644 --- a/zgw_consumers/migrations/0003_auto_20190514_1009.py +++ b/zgw_consumers/migrations/0003_auto_20190514_1009.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [("zgw_consumers", "0002_auto_20190514_0944")] operations = [ diff --git a/zgw_consumers/migrations/0004_auto_20200113_1728.py b/zgw_consumers/migrations/0004_auto_20200113_1728.py index e614c4f..585f4ac 100644 --- a/zgw_consumers/migrations/0004_auto_20200113_1728.py +++ b/zgw_consumers/migrations/0004_auto_20200113_1728.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0003_auto_20190514_1009"), ] diff --git a/zgw_consumers/migrations/0005_auto_20200326_1040.py b/zgw_consumers/migrations/0005_auto_20200326_1040.py index 6ab4032..62871ba 100644 --- a/zgw_consumers/migrations/0005_auto_20200326_1040.py +++ b/zgw_consumers/migrations/0005_auto_20200326_1040.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0004_auto_20200113_1728"), ] diff --git a/zgw_consumers/migrations/0007_service_nlx.py b/zgw_consumers/migrations/0007_service_nlx.py index 18819ae..8f1e01c 100644 --- a/zgw_consumers/migrations/0007_service_nlx.py +++ b/zgw_consumers/migrations/0007_service_nlx.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0006_update_oas_auth"), ] diff --git a/zgw_consumers/migrations/0008_auto_20200331_1400.py b/zgw_consumers/migrations/0008_auto_20200331_1400.py index bce9e2b..21d324a 100644 --- a/zgw_consumers/migrations/0008_auto_20200331_1400.py +++ b/zgw_consumers/migrations/0008_auto_20200331_1400.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0007_service_nlx"), ] diff --git a/zgw_consumers/migrations/0009_auto_20200401_0829.py b/zgw_consumers/migrations/0009_auto_20200401_0829.py index bd8ab47..50307e6 100644 --- a/zgw_consumers/migrations/0009_auto_20200401_0829.py +++ b/zgw_consumers/migrations/0009_auto_20200401_0829.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [("zgw_consumers", "0008_auto_20200331_1400")] operations = [ diff --git a/zgw_consumers/migrations/0010_nlxconfig.py b/zgw_consumers/migrations/0010_nlxconfig.py index 66bdfdf..5ab91f1 100644 --- a/zgw_consumers/migrations/0010_nlxconfig.py +++ b/zgw_consumers/migrations/0010_nlxconfig.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0009_auto_20200401_0829"), ] diff --git a/zgw_consumers/migrations/0011_remove_service_extra.py b/zgw_consumers/migrations/0011_remove_service_extra.py index da8c4fc..13ce80f 100644 --- a/zgw_consumers/migrations/0011_remove_service_extra.py +++ b/zgw_consumers/migrations/0011_remove_service_extra.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0010_nlxconfig"), ] diff --git a/zgw_consumers/migrations/0012_auto_20210104_1039.py b/zgw_consumers/migrations/0012_auto_20210104_1039.py index eabe5a1..78b9786 100644 --- a/zgw_consumers/migrations/0012_auto_20210104_1039.py +++ b/zgw_consumers/migrations/0012_auto_20210104_1039.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0011_remove_service_extra"), ] diff --git a/zgw_consumers/migrations/0013_oas_field.py b/zgw_consumers/migrations/0013_oas_field.py index 740f0c7..6908142 100644 --- a/zgw_consumers/migrations/0013_oas_field.py +++ b/zgw_consumers/migrations/0013_oas_field.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0012_auto_20210104_1039"), ] diff --git a/zgw_consumers/migrations/0014_auto_20211217_1557.py b/zgw_consumers/migrations/0014_auto_20211217_1557.py index 9167419..cbe2090 100644 --- a/zgw_consumers/migrations/0014_auto_20211217_1557.py +++ b/zgw_consumers/migrations/0014_auto_20211217_1557.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0013_oas_field"), ] diff --git a/zgw_consumers/migrations/0015_auto_20220307_1522.py b/zgw_consumers/migrations/0015_auto_20220307_1522.py index 29415d2..36508a0 100644 --- a/zgw_consumers/migrations/0015_auto_20220307_1522.py +++ b/zgw_consumers/migrations/0015_auto_20220307_1522.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0014_auto_20211217_1557"), ] diff --git a/zgw_consumers/migrations/0016_auto_20220818_1412.py b/zgw_consumers/migrations/0016_auto_20220818_1412.py index 8d42d54..562cf4e 100644 --- a/zgw_consumers/migrations/0016_auto_20220818_1412.py +++ b/zgw_consumers/migrations/0016_auto_20220818_1412.py @@ -27,7 +27,6 @@ def migrate_data(apps, _): class Migration(migrations.Migration): - dependencies = [ ("simple_certmanager", "0001_initial"), ("zgw_consumers", "0015_auto_20220307_1522"),