Skip to content

Commit

Permalink
Update __main__.py with f-strings instead of %s strings (#1906)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfelipeog committed Mar 15, 2024
2 parents 23d3de0 + 6c5a17b commit 87326e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sherlock/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
python_version = sys.version.split()[0]

if sys.version_info < (3, 6):
print("Sherlock requires Python 3.6+\nYou are using Python %s, which is not supported by Sherlock" % (python_version))
print(f"Sherlock requires Python 3.6+\nYou are using Python {python_version}, which is not supported by Sherlock.")
sys.exit(1)

import sherlock
Expand Down

0 comments on commit 87326e3

Please sign in to comment.