This commit adds the ability to further suppress output for accounts with no deleted toots using the -qq flag. It also adds the option to completely suppress logging (excluding exceptions) by using the -qqq flag
I'm not sure if/how you want me to test this. I modified test_check_batch to test for the new logging format but the tests don't cover the quiet cases.
[ ] I have added tests for this code in tests/test_ephemetoot.py
[X] I would like assistance to write the required tests
[ ] I don't know how to write test and would like someone to write them for me
What this PR does
Changes in this pull request
Adds -q to the --quiet options and switches the target from store_true to count
Add user@base_url to Deleted X toots message
Suppress output when options.quiet == 2 and deleted_toots == 0 or when options.quiet >= 3
This commit adds the ability to further suppress output for accounts with no deleted toots using the
-qq
flag. It also adds the option to completely suppress logging (excluding exceptions) by using the-qqq
flagStyles and docs
black
on my codeTests
I'm not sure if/how you want me to test this. I modified
test_check_batch
to test for the new logging format but the tests don't cover the quiet cases.tests/test_ephemetoot.py
What this PR does
Changes in this pull request
-q
to the--quiet
options and switches the target fromstore_true
tocount
user@base_url
toDeleted X toots
messageoptions.quiet == 2
anddeleted_toots == 0
or whenoptions.quiet >= 3
Related issues
Resolves #56