-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistent code formatting using black, isort (#17)
- Loading branch information
Showing
82 changed files
with
5,528 additions
and
2,416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
lint: | ||
isort --project popmon --multi-line=3 --trailing-comma --force-grid-wrap=0 --use-parentheses --line-width=88 | ||
black . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
# flake8: noqa | ||
from .version import version as __version__ | ||
|
||
# pandas/spark dataframe decorators | ||
from popmon import decorators | ||
|
||
# histogram and report functions | ||
from .hist.filling import make_histograms, get_time_axes, get_bin_specs | ||
from .hist.filling import get_bin_specs, get_time_axes, make_histograms | ||
from .pipeline.metrics import df_stability_metrics, stability_metrics | ||
from .pipeline.report import df_stability_report, stability_report | ||
from .stitching import stitch_histograms | ||
from .pipeline.report import stability_report, df_stability_report | ||
from .pipeline.metrics import stability_metrics, df_stability_metrics | ||
from .version import version as __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
from ..alerting.compute_tl_bounds import ComputeTLBounds, collect_traffic_light_bounds, \ | ||
traffic_light, pull_bounds, DynamicBounds, TrafficLightAlerts, traffic_light_summary, StaticBounds | ||
from ..alerting.alerts_summary import AlertsSummary | ||
|
||
from ..alerting.compute_tl_bounds import ( | ||
ComputeTLBounds, | ||
DynamicBounds, | ||
StaticBounds, | ||
TrafficLightAlerts, | ||
collect_traffic_light_bounds, | ||
pull_bounds, | ||
traffic_light, | ||
traffic_light_summary, | ||
) | ||
|
||
__all__ = [ | ||
'ComputeTLBounds', | ||
'collect_traffic_light_bounds', | ||
'traffic_light', | ||
'pull_bounds', | ||
'DynamicBounds', | ||
'TrafficLightAlerts', | ||
'traffic_light_summary', | ||
'StaticBounds', | ||
'AlertsSummary', | ||
"ComputeTLBounds", | ||
"collect_traffic_light_bounds", | ||
"traffic_light", | ||
"pull_bounds", | ||
"DynamicBounds", | ||
"TrafficLightAlerts", | ||
"traffic_light_summary", | ||
"StaticBounds", | ||
"AlertsSummary", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.