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
pypi-readme.md
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):
if attempts < 6:
if attempts < 6:
try:
console_print(
"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:
if not options.quiet or options.quiet <= 1:
print(
"No toots found for "
+ config["username"]
+ "@"
+ config["base_url"]
+ ".\n"
"No toots found for "
+ config["username"]
+ "@"
+ config["base_url"]
+ ".\n"
)

View File

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