Skip to content

Commit 88d3054

Browse files
committed
fixed whitespace and line length issues
Signed-off-by: Larry Gezelius <[email protected]>
1 parent fe2d37c commit 88d3054

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

ros2pkg/ros2pkg/verb/create.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def add_arguments(self, parser, cli_name):
8787
parser.add_argument(
8888
'--library-name',
8989
help='name of the empty library')
90-
90+
9191
def main(self, *, args):
9292

9393
def get_git_config(key: str) -> str | None:
@@ -112,9 +112,15 @@ def get_git_config(key: str) -> str | None:
112112
print('Supported licenses:\n%s' % ('\n'.join(available_licenses)))
113113
sys.exit(0)
114114

115-
maintainer_name: str = args.maintainer_name or get_git_config('user.name') or getpass.getuser()
115+
maintainer_name: str = (
116+
args.maintainer_name
117+
or get_git_config('user.name')
118+
or getpass.getuser())
116119
maintainer = Person(maintainer_name)
117-
maintainer.email = args.maintainer_email or get_git_config('user.email') or f"{maintainer.name.replace(' ', '')}@todo.todo"
120+
maintainer.email = (
121+
args.maintainer_email
122+
or get_git_config('user.email')
123+
or f"{maintainer.name.replace(' ', '')}@todo.todo")
118124

119125
node_name = None
120126
library_name = None

0 commit comments

Comments
 (0)