all: implement black as code formatter

This commit is contained in:
Jens Langhammer
2019-12-31 12:51:16 +01:00
parent 8eb3f0f708
commit 3bd1eadd51
298 changed files with 4825 additions and 3145 deletions

View File

@ -2,12 +2,12 @@
from celery.schedules import crontab
AUTHENTICATION_BACKENDS = [
'passbook.sources.ldap.auth.LDAPBackend',
"passbook.sources.ldap.auth.LDAPBackend",
]
CELERY_BEAT_SCHEDULE = {
'sync': {
'task': 'passbook.sources.ldap.tasks.sync',
'schedule': crontab(minute=0) # Run every hour
"sync": {
"task": "passbook.sources.ldap.tasks.sync",
"schedule": crontab(minute=0), # Run every hour
}
}