Skip to content

Commit

Permalink
Add noqa check to gitstamp catch-all
Browse files Browse the repository at this point in the history
  • Loading branch information
plstcharles committed Oct 26, 2018
1 parent 53fd3b2 commit e523d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thelper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def get_git_stamp():
repo = git.Repo(search_parent_directories=True)
sha = repo.head.object.hexsha
return str(sha)
except:
except: # noqa: E722
pass
return "unknown"

Expand Down

0 comments on commit e523d51

Please sign in to comment.