]> git.0d.be Git - chloro.git/commitdiff
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 5650df4c3d0df03334b7330e980556240168cdaa..0620b4d2b909948eb9bee906f7434aad9ffce6fe 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 a3f3e44d6493da73bedf35183b0965552954667a..143662f4669ce04fa3cf5e5fe490ad039bdc4101 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 20ef72297a2f3feeb96b52447b80b94adec7afa3..c11cbb80cac10037bcb4b175808628c1c03fc706 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()