prepare for 3.1.1 release

- run Black to clean up formatting
- extra-cautious addition to .gitignore
- bump version from pre-release
This commit is contained in:
Hugh Rundle 2021-05-01 10:38:43 +10:00
parent 999abcb934
commit 084a256820
3 changed files with 9 additions and 8 deletions

3
.gitignore vendored
View File

@ -2,4 +2,5 @@ config.yaml
_assets _assets
pypi-readme.md pypi-readme.md
archive archive
dist dist
.pytest_cache/*

View File

@ -382,7 +382,7 @@ def print_rate_limit_message(mastodon):
def retry_on_error(options, mastodon, toot, attempts=0): def retry_on_error(options, mastodon, toot, attempts=0):
if attempts < 6: if attempts < 6:
try: try:
console_print( console_print(
"Attempt " + str(attempts) + " at " + datestamp_now(), options, False "Attempt " + str(attempts) + " at " + datestamp_now(), options, False
@ -587,11 +587,11 @@ def check_batch(config, options, mastodon, user_id, timeline, deleted_count=0):
except IndexError: except IndexError:
if not options.quiet or options.quiet <= 1: if not options.quiet or options.quiet <= 1:
print( print(
"No toots found for " "No toots found for "
+ config["username"] + config["username"]
+ "@" + "@"
+ config["base_url"] + config["base_url"]
+ ".\n" + ".\n"
) )

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "ephemetoot" name = "ephemetoot"
version = "3.1.1a1" version = "3.1.1"
description = "A command line tool to delete your old toots" description = "A command line tool to delete your old toots"
authors = ["Hugh Rundle <ephemetoot@hugh.run>"] authors = ["Hugh Rundle <ephemetoot@hugh.run>"]
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"