Skip to content

Commit

Permalink
Fixes linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nkakouros committed Mar 17, 2020
1 parent 3e2c666 commit 01e88d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gilt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ def _get_files_config(src_dir, files_list):
"FilesConfig", ["src", "dst", "post_commands"]
)

return [FilesConfig(**d) for d in _get_files_generator(src_dir, files_list)]
return [
FilesConfig(**d) for d in _get_files_generator(src_dir, files_list)
]


def _get_remotes_config(remotes):
Expand Down
4 changes: 3 additions & 1 deletion gilt/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ def overlay(repository, files, version, debug=False):
if os.path.isdir(fc.dst) and os.path.isdir(fc.src):
shutil.rmtree(fc.dst)
util.copy(fc.src, fc.dst)
msg = " - copied ({}) {} to {}".format(version, fc.src, fc.dst)
msg = " - copied ({}) {} to {}".format(
version, fc.src, fc.dst
)
util.print_info(msg)


Expand Down

0 comments on commit 01e88d5

Please sign in to comment.