From 5c59a37464a36dbad1f36e35a33a4d8ab85069a2 Mon Sep 17 00:00:00 2001 From: lxd1190 Date: Thu, 1 Nov 2018 21:11:16 +0800 Subject: [PATCH] style(local): code standards --- .idea/misc.xml | 7 + .idea/workspace.xml | 562 ++++++++++++++++++ app/config/common.py | 3 +- app/config/database.py | 11 +- app/config/errorcode.py | 23 +- app/controller/api/views.py | 2 +- app/controller/manage.py | 21 - app/dao/time_series_detector/anomaly_op.py | 3 +- app/dao/time_series_detector/sample_op.py | 7 +- app/dao/time_series_detector/train_op.py | 3 +- .../algorithm/ewma_and_polynomial.py | 3 +- .../time_series_detector/algorithm/gbdt.py | 8 +- .../algorithm/isolation_forest.py | 3 +- .../algorithm/polynomial_interpolation.py | 3 +- .../algorithm/xgboosting.py | 5 +- .../time_series_detector/anomaly_service.py | 2 +- .../time_series_detector/detect_service.py | 5 +- .../feature/classification_features.py | 2 +- .../feature/feature_service.py | 2 +- .../feature/fitting_features.py | 13 +- .../feature/statistical_features.py | 2 +- .../time_series_detector/sample_service.py | 6 +- .../time_series_detector/task_service.py | 2 +- app/utils/utils.py | 7 +- docker/start.sh | 11 +- 25 files changed, 639 insertions(+), 77 deletions(-) create mode 100644 .idea/misc.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..3f322e3 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..49d2040 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,562 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 + 180 + delete + + + E:\Metis\app + E:\Metis\app\dao + E:\Metis\app\service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +