mirror of
https://github.com/hughrun/ephemetoot
synced 2025-01-28 12:29:17 +01:00
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:
parent
999abcb934
commit
084a256820
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@ config.yaml
|
|||||||
_assets
|
_assets
|
||||||
pypi-readme.md
|
pypi-readme.md
|
||||||
archive
|
archive
|
||||||
dist
|
dist
|
||||||
|
.pytest_cache/*
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user