Skip to content

Commit

Permalink
fix pylint warning W0311: Bad indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nodiscc committed Dec 20, 2023
1 parent 0909f85 commit 4e41a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hecat/processors/awesome_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def check_last_updated(software, step, errors):
last_update_time = datetime.strptime(software['updated_at'], "%Y-%m-%d")
time_since_last_update = last_update_time - datetime.now()
if software['source_code_url'] in step['module_options']['last_updated_skip']:
logging.info('%s: skipping last update time check as per configuration (last_updated_skip) (%s)', software['name'], time_since_last_update)
logging.info('%s: skipping last update time check as per configuration (last_updated_skip) (%s)', software['name'], time_since_last_update)
elif last_update_time < datetime.now() - timedelta(days=step['module_options']['last_updated_error_days']):
message = '{}: last updated {} ago, older than {} days'.format(software['name'], time_since_last_update, step['module_options']['last_updated_error_days'])
log_exception(message, errors, severity=logging.error)
Expand Down

0 comments on commit 4e41a07

Please sign in to comment.