reapply black with newer settings
authorFrédéric Péters <fpeters@0d.be>
Fri, 26 Mar 2021 10:11:58 +0000 (11:11 +0100)
committerFrédéric Péters <fpeters@0d.be>
Fri, 26 Mar 2021 10:11:58 +0000 (11:11 +0100)
chloro/phyll/migrations/0002_auto_20191229_1932.py
chloro/settings.py
setup.py

index 5650df4..0620b4d 100644 (file)
@@ -12,5 +12,8 @@ class Migration(migrations.Migration):
     ]
 
     operations = [
-        migrations.AlterModelOptions(name='note', options={'ordering': ['-creation_timestamp']},),
+        migrations.AlterModelOptions(
+            name='note',
+            options={'ordering': ['-creation_timestamp']},
+        ),
     ]
index a3f3e44..143662f 100644 (file)
@@ -81,7 +81,10 @@ WSGI_APPLICATION = 'chloro.wsgi.application'
 # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
 
 DATABASES = {
-    'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'chloro',},
+    'default': {
+        'ENGINE': 'django.db.backends.postgresql_psycopg2',
+        'NAME': 'chloro',
+    },
 }
 
 
@@ -89,10 +92,18 @@ DATABASES = {
 # https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
 
 AUTH_PASSWORD_VALIDATORS = [
-    {'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',},
-    {'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',},
-    {'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',},
-    {'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',},
+    {
+        'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
+    },
+    {
+        'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
+    },
+    {
+        'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
+    },
+    {
+        'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
+    },
 ]
 
 LOGIN_REDIRECT_URL = '/'
@@ -136,7 +147,9 @@ CKEDITOR_CONFIGS = {
             ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
             ['Link', 'Unlink'],
             ['Image', '-', 'HorizontalRule'],
-            ['RemoveFormat',],
+            [
+                'RemoveFormat',
+            ],
             ['Maximize'],
         ],
         'toolbar': 'Own',
index 20ef722..c11cbb8 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -27,9 +27,9 @@ class eo_sdist(sdist):
 
 
 def get_version():
-    '''Use the VERSION, if absent generates a version with git describe, if not
-       tag exists, take 0.0- and add the length of the commit log.
-    '''
+    """Use the VERSION, if absent generates a version with git describe, if not
+    tag exists, take 0.0- and add the length of the commit log.
+    """
     if os.path.exists('VERSION'):
         with open('VERSION', 'r') as v:
             return v.read()