From 8b4222e7bb2145eae75d0297ce565073e7575340 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 19 Sep 2020 12:21:31 +0200 Subject: [PATCH] providers/proxy: fix formatting --- .../migrations/0006_proxyprovider_skip_path_regex.py | 12 ++++++++---- passbook/providers/proxy/models.py | 10 ++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/passbook/providers/proxy/migrations/0006_proxyprovider_skip_path_regex.py b/passbook/providers/proxy/migrations/0006_proxyprovider_skip_path_regex.py index 3f252be3c..7b9860d45 100644 --- a/passbook/providers/proxy/migrations/0006_proxyprovider_skip_path_regex.py +++ b/passbook/providers/proxy/migrations/0006_proxyprovider_skip_path_regex.py @@ -6,13 +6,17 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('passbook_providers_proxy', '0005_auto_20200914_1536'), + ("passbook_providers_proxy", "0005_auto_20200914_1536"), ] operations = [ migrations.AddField( - model_name='proxyprovider', - name='skip_path_regex', - field=models.TextField(blank=True, default='', help_text='Regular expression for which authentication is not required. Each new line is interpreted as a new Regular Expression.'), + model_name="proxyprovider", + name="skip_path_regex", + field=models.TextField( + blank=True, + default="", + help_text="Regular expression for which authentication is not required. Each new line is interpreted as a new Regular Expression.", + ), ), ] diff --git a/passbook/providers/proxy/models.py b/passbook/providers/proxy/models.py index ed052782a..b1831ac8a 100644 --- a/passbook/providers/proxy/models.py +++ b/passbook/providers/proxy/models.py @@ -52,10 +52,12 @@ class ProxyProvider(OutpostModel, OAuth2Provider): skip_path_regex = models.TextField( default="", blank=True, - help_text=_(( - "Regular expression for which authentication is not required. " - "Each new line is interpreted as a new Regular Expression." - )) + help_text=_( + ( + "Regular expression for which authentication is not required. " + "Each new line is interpreted as a new Regular Expression." + ) + ), ) certificate = models.ForeignKey(