Skip to content

Commit

Permalink
running black on logger/parser
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOstrowski committed Feb 8, 2024
1 parent e9e1b38 commit eaefd40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/fillname/utils/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ def set_handler(level, color):
handler = logging.StreamHandler(sys.stderr)
handler.addFilter(SingleLevelFilter(level, False))
handler.setLevel(level)
formatter = logging.Formatter(
log_message_str.format(COLORS[color], COLORS["GREY"], COLORS["NORMAL"])
)
formatter = logging.Formatter(log_message_str.format(COLORS[color], COLORS["GREY"], COLORS["NORMAL"]))
handler.setFormatter(formatter)
logger.addHandler(handler)

Expand Down
4 changes: 1 addition & 3 deletions src/fillname/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,5 @@ def get(levels, name):
type=cast(Any, lambda name: get(levels, name)),
)

parser.add_argument(
"--version", "-v", action="version", version=f"%(prog)s {VERSION}"
)
parser.add_argument("--version", "-v", action="version", version=f"%(prog)s {VERSION}")
return parser

0 comments on commit eaefd40

Please sign in to comment.