This is an automated email from the ASF dual-hosted git repository.
robdiciuccio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 1a96102 fix(build): black failing on master, add to required checks
(#13039)
1a96102 is described below
commit 1a961022b9f8a859475e110d09fcc43e04bdc0cb
Author: Rob DiCiuccio <[email protected]>
AuthorDate: Tue Feb 9 12:44:29 2021 -0800
fix(build): black failing on master, add to required checks (#13039)
* fix(build): black failing on master
* Add pre-commit to required checks
---
.asf.yaml | 1 +
superset/config.py | 12 ++++++------
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 38ee9d4..ad9b057 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -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)
diff --git a/superset/config.py b/superset/config.py
index 7a2596e..e69e7b8 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -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),
},
}