Skip to content

Commit

Permalink
Don't bold all colours
Browse files Browse the repository at this point in the history
and ruff lint things
  • Loading branch information
chmouel committed Dec 14, 2023
1 parent 1bcef67 commit fe6ec59
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions kss
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
# License for the specific language governing permissions and limitations
# under the License.
import argparse
import sys
import subprocess
import json
import re
import os
import re
import subprocess
import sys


def colourText(text, color):
colours = {
"red": "\033[1;31m",
"yellow": "\033[1;33m",
"blue": "\033[1;34m",
"cyan": "\033[1;36m",
"red": "\033[0;31m",
"yellow": "\033[0;33m",
"blue": "\033[0;34m",
"cyan": "\033[0;36m",
"cyan_italic": "\033[3;37m",
"green": "\033[1;32m",
"grey": "\033[1;30m",
"magenta": "\033[1;35m",
"white": "\033[1;37m",
"green": "\033[0;32m",
"grey": "\033[0;30m",
"magenta": "\033[0;35m",
"white": "\033[0;37m",
"reset": "\033[0;0m",
}
s = f"{colours[color]}{text}{colours['reset']}"
Expand Down Expand Up @@ -96,7 +96,6 @@ def lensc(jeez):

def hasfailure(jeez):
for i in jeez:

if (
"waiting" in i["state"]
and i["state"]["waiting"]["reason"] == "ImagePullBackOff"
Expand Down

0 comments on commit fe6ec59

Please sign in to comment.