If you're using browser you can add this to your adblock custom filters. Just make sure the instance matches the one you're using so incase of OP, replace lemm.ee with lemmy.world
I use Sync, you can filter key words in any combination of post content, titles, community names and comments.
It won't catch everything, but it clears out enough that I get enough other content to keep me happy. You could also block the specific communities for politics.
As others mentioned, most apps offer word filters, just got to hit enough key words. I blocked the word "Tr*mp" and it cleared my main feed up real good already, with some fine tuning I guess I can get rid of the rest too.