Skip to content

Commit

Permalink
🎓 Add succinct comment :D
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinHock committed May 30, 2020
1 parent e220bee commit 32afceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions detect_secrets/plugins/high_entropy_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ def calculate_shannon_entropy(self, data):
return entropy

try:
# Check if str is that of a number
int(data)

# This multiplier was determined through trial and error, with the
Expand Down

0 comments on commit 32afceb

Please sign in to comment.