Skip to content

Commit

Permalink
Blackify code.
Browse files Browse the repository at this point in the history
  • Loading branch information
namcsi committed Aug 30, 2023
1 parent ee64c18 commit a6ec205
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/renopro/rast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,8 +1001,10 @@ def transform(
pass
else: # nocoverage
logger.warning(
("Transformation encoding produced multiple models, "
"ignoring additional ones.")
(
"Transformation encoding produced multiple models, "
"ignoring additional ones."
)
)


Expand Down
5 changes: 3 additions & 2 deletions src/renopro/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import logging
import sys
from argparse import ArgumentParser, REMAINDER
from argparse import REMAINDER, ArgumentParser
from pathlib import Path
from textwrap import dedent
from typing import Any, cast
Expand Down Expand Up @@ -40,7 +40,8 @@ def get(levels, name):
return None # nocoverage

common_arg_parser.add_argument(
"--log", "-l",
"--log",
"-l",
default="warning",
choices=[val for _, val in levels],
metavar=f"{{{','.join(key for key, _ in levels)}}}",
Expand Down

0 comments on commit a6ec205

Please sign in to comment.