fix(build): black failing on master, add to required checks (#13039)

* fix(build): black failing on master

* Add pre-commit to required checks
This commit is contained in:
Rob DiCiuccio 2021-02-09 12:44:29 -08:00 committed by GitHub
parent bbcb41149e
commit 1a961022b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -66,6 +66,7 @@ github:
- cypress-matrix (3, chrome)
- docker-build
- frontend-build
- pre-commit (3.7)
- python-lint (3.7)
- test-mysql (3.7)
- test-postgres (3.7)

View File

@ -623,13 +623,13 @@ class CeleryConfig: # pylint: disable=too-few-public-methods
"task": "email_reports.schedule_hourly",
"schedule": crontab(minute=1, hour="*"),
},
'reports.scheduler': {
'task': 'reports.scheduler',
'schedule': crontab(minute='*', hour='*'),
"reports.scheduler": {
"task": "reports.scheduler",
"schedule": crontab(minute="*", hour="*"),
},
'reports.prune_log': {
'task': 'reports.prune_log',
'schedule': crontab(minute=0, hour=0),
"reports.prune_log": {
"task": "reports.prune_log",
"schedule": crontab(minute=0, hour=0),
},
}