changeset 27:eec015e90818

reformat
author drewp@bigasterisk.com
date Thu, 29 Jun 2023 14:12:22 -0700
parents b15cfe483964
children e114edff93dc
files alert_rules.py pyproject.toml tasks.py
diffstat 3 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/alert_rules.py	Thu Jun 29 13:58:34 2023 -0700
+++ b/alert_rules.py	Thu Jun 29 14:12:22 2023 -0700
@@ -11,8 +11,6 @@
 
 import json
 
-import yaml
-
 
 def k8sRules():
     # from https://awesome-prometheus-alerts.grep.to/rules.html
--- a/pyproject.toml	Thu Jun 29 13:58:34 2023 -0700
+++ b/pyproject.toml	Thu Jun 29 14:12:22 2023 -0700
@@ -1,4 +1,3 @@
-
 [project]
 name = ""
 version = ""
--- a/tasks.py	Thu Jun 29 13:58:34 2023 -0700
+++ b/tasks.py	Thu Jun 29 14:12:22 2023 -0700
@@ -1,11 +1,9 @@
-import json
-
 import yaml
 from invoke import task
 from kubernetes import config
 
-from k8s_ops import firstPodName, replaceCmap, refreshPodCmaps
 import alert_rules
+from k8s_ops import firstPodName, refreshPodCmaps, replaceCmap
 
 config.load_kube_config()