style: pyupgrade

This commit is contained in:
Henry Fredrick Schreiner
2021-01-02 19:11:40 -05:00
parent 2a73fee411
commit 7e80e4b0b6
3 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ def bump_version():
)
if not found_at_least_one_file_needing_update:
print('error: Didnt find any occurences of “{}” in “{}'.format(find_pattern, path_pattern))
print(f'error: Didnt find any occurences of “{find_pattern}” in “{path_pattern}')
exit(1)
print()
@@ -94,7 +94,7 @@ def bump_version():
red="\u001b[31m", green="\u001b[32m", off="\u001b[0m"
))
print('Then commit, and tag as v{}'.format(new_version))
print(f'Then commit, and tag as v{new_version}')
answer = input('Proceed? [y/N] ').strip()