Skip to content

Commit

Permalink
Merge pull request #30 from AstarVienna/fh/prepare-v0.2.0
Browse files Browse the repository at this point in the history
Prepare for v0.2.0
  • Loading branch information
teutoburg authored Jan 26, 2024
2 parents e9e778a + fc34f26 commit 73babb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions astar_utils/loggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ class ColoredFormatter(logging.Formatter):
"""

colors = {
logging.DEBUG: Fore.CYAN, # Fore.BLUE,
logging.DEBUG: Fore.CYAN,
logging.INFO: Fore.GREEN,
logging.WARNING: Fore.MAGENTA, # Fore.CYAN,
logging.WARNING: Fore.MAGENTA,
logging.ERROR: Fore.RED,
logging.CRITICAL: Fore.YELLOW + Back.RED
}
Expand Down Expand Up @@ -67,7 +67,3 @@ def formatMessage(self, record):
"""Override `logging.Formatter.formatMessage()`."""
log_fmt = self._get_fmt(record.levelno)
return log_fmt % record.__dict__

# Could maybe add bug_report here somehow?
# def formatException(self, ei):
# return super().formatException(ei) + "\n\nextra text"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "astar-utils"
version = "0.2.0b2"
version = "0.2.0"
description = "Contains commonly-used utilities for AstarVienna's projects."
license = "GPL-3.0-or-later"
authors = ["Fabian Haberhauer <fabian.haberhauer@univie.ac.at>"]
Expand Down

0 comments on commit 73babb4

Please sign in to comment.