Skip to content

Commit

Permalink
CLN: Remove termcolor dependency (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbjorge authored Feb 1, 2024
1 parent 81c337d commit ac241d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ dev = [
"pytest",
"rstcheck",
"ruff",
"termcolor",
"types-PyYAML",
]
docs = [
Expand Down
10 changes: 2 additions & 8 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import yaml
from fmu.config import utilities as ut
from fmu.dataio.dataio import ExportData, read_metadata
from termcolor import cprint

logger = logging.getLogger(__name__)

Expand All @@ -28,14 +27,9 @@

def pytest_configure():
if "RMSVER" in os.environ and "INSIDE_RMS" not in os.environ:
cprint(80 * "=", "red", attrs=["blink"])
cprint(
"You run a RMS python somehow; need to set INSIDE_RMS=0 for pytest:",
"red",
attrs=["blink"],
logging.critical(
"You run a RMS python somehow; need to set INSIDE_RMS=0 for pytest:"
)
cprint("INSIDE_RMS=0 pytest", "red", attrs=["blink"])
cprint(80 * "=", "red", attrs=["blink"])


@contextlib.contextmanager
Expand Down

0 comments on commit ac241d5

Please sign in to comment.