Skip to content

Commit

Permalink
codacy issues
Browse files Browse the repository at this point in the history
Signed-off-by: aw <[email protected]>
  • Loading branch information
a-w50 committed Oct 15, 2024
1 parent 009da4c commit 3e6e322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ev-dev-tools/src/ev_cli/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,10 +680,10 @@ def is_template_newer(file_info) -> Tuple[bool, str]:
generated_path = file_info['path']

if not generated_path.exists():
return (True, f' (Generated file did not exist)')
return (True, ' (Generated file did not exist)')

if get_mtime(template_path) > get_mtime(generated_path):
return (True, f' (Template file has changed since last generation)')
return (True, ' (Template file has changed since last generation)')

return (False, '')

Expand Down

0 comments on commit 3e6e322

Please sign in to comment.