File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2626 run : bandit ./bot.py cogs/*.py core/*.py -b .bandit_baseline.json
2727 - name : Pylint
2828 run : pylint ./bot.py cogs/*.py core/*.py --disable=import-error --exit-zero -r y
29- - name : Flake8 and black lint
29+ - name : Black and flake8
3030 run : |
31- flake8 ./bot.py cogs/*.py core/*.py --ignore=E501,E203,W503
3231 black . --check
32+ flake8 ./bot.py cogs/*.py core/*.py --ignore=E501,E203,W503
Original file line number Diff line number Diff line change @@ -639,10 +639,7 @@ async def is_blocked(
639639
640640 blocked_reason = self .blocked_users .get (str (author .id )) or ""
641641
642- if (
643- not self .check_account_age (author )
644- or not self .check_guild_age (author )
645- ):
642+ if not self .check_account_age (author ) or not self .check_guild_age (author ):
646643 new_reason = self .blocked_users .get (str (author .id ))
647644 if new_reason != blocked_reason :
648645 if send_message :
You can’t perform that action at this time.
0 commit comments