robertoszek / pleroma-bot

Bot for mirroring one or multiple Twitter accounts in Pleroma/Mastodon/Misskey.
https://robertoszek.github.io/pleroma-bot
MIT License
103 stars 19 forks source link

Match max_tweets condition and description (min 10) #94

Closed nemobis closed 2 years ago

nemobis commented 2 years ago

When setting max_tweets to 10, everything fails with:

ValueError: max_tweets must be between 10 and 3200. max_tweets: 10

codecov[bot] commented 2 years ago

Codecov Report

Base: 94.35% // Head: 94.35% // No change to project coverage :thumbsup:

Coverage data is based on head (3bf97f3) compared to base (7224399). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #94 +/- ## ======================================== Coverage 94.35% 94.35% ======================================== Files 10 10 Lines 1806 1806 ======================================== Hits 1704 1704 Misses 102 102 ``` | [Impacted Files](https://codecov.io/gh/robertoszek/pleroma-bot/pull/94?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [pleroma\_bot/\_twitter.py](https://codecov.io/gh/robertoszek/pleroma-bot/pull/94/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGxlcm9tYV9ib3QvX3R3aXR0ZXIucHk=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.