Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit c791c7d

Browse files
committed
Updated isort config
1 parent 4531723 commit c791c7d

File tree

41 files changed

+41
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+41
-0
lines changed

administration/permissions/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from ...contributor import Contributor
1919
from ...pubsub import send_to_changelog
2020

21+
2122
tg = t.g
2223
t = t.permissions
2324

administration/roles/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from ...contributor import Contributor
2323
from ...pubsub import send_alert, send_to_changelog
2424

25+
2526
tg = t.g
2627
t = t.roles
2728

administration/settings/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from ...contributor import Contributor
1515
from ...pubsub import send_to_changelog
1616

17+
1718
tg = t.g
1819
t = t.settings
1920

administration/sudo/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from .permissions import SudoPermission
1717
from ...contributor import Contributor
1818

19+
1920
tg = t.g
2021
t = t.sudo
2122

general/betheprofessional/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from ...contributor import Contributor
1919
from ...pubsub import send_to_changelog
2020

21+
2122
tg = t.g
2223
t = t.betheprofessional
2324

general/custom_commands/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from ...administration.permissions.cog import PermissionLevelConverter, PermissionsCog
3232
from ...pubsub import send_alert, send_to_changelog
3333

34+
3435
logger = get_logger(__name__)
3536

3637
tg = t.g

general/discord_bot_token_deleter/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from ...contributor import Contributor
1313
from ...pubsub import send_alert
1414

15+
1516
tg = t.g
1617
t = t.discord_bot_token_deleter
1718

general/news/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from ...contributor import Contributor
1919
from ...pubsub import send_to_changelog
2020

21+
2122
tg = t.g
2223
t = t.news
2324

general/polls/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from .permissions import PollsPermission
2020
from ...contributor import Contributor
2121

22+
2223
tg = t.g
2324
t = t.polls
2425

general/reactionpin/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from ...contributor import Contributor
2020
from ...pubsub import send_to_changelog
2121

22+
2223
tg = t.g
2324
t = t.reactionpin
2425

general/reactionrole/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from ...contributor import Contributor
2121
from ...pubsub import send_to_changelog
2222

23+
2324
tg = t.g
2425
t = t.reactionrole
2526

general/remind_me/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from ...contributor import Contributor
99
from ...pubsub import send_alert
1010

11+
1112
tg = t.g
1213
t = t.remind_me
1314

general/utils/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from .permissions import UtilsPermission
1919
from ...contributor import Contributor
2020

21+
2122
tg = t.g
2223
t = t.utils
2324

general/voice_channel/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
from ...contributor import Contributor
5050
from ...pubsub import send_alert, send_to_changelog
5151

52+
5253
tg = t.g
5354
t = t.voice_channel
5455

information/bot_info/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from .colors import Colors
1919
from ...contributor import Contributor
2020

21+
2122
tg = t.g
2223
t = t.bot_info
2324

information/heartbeat/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
from ...contributor import Contributor
1616

17+
1718
tg = t.g
1819
t = t.heartbeat
1920

information/help/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
from .colors import Colors
1515

16+
1617
tg = t.g
1718
t = t.help
1819

information/inactivity/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from .settings import InactivitySettings
2121
from ...pubsub import get_user_status_entries, ignore_message_edit, send_to_changelog
2222

23+
2324
tg = t.g
2425
t = t.inactivity
2526

information/server_info/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from .colors import Colors
1313
from ...contributor import Contributor
1414

15+
1516
tg = t.g
1617
t = t.server_info
1718

information/user_info/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
send_alert,
4646
)
4747

48+
4849
logger = get_logger(__name__)
4950

5051
tg = t.g

integrations/adventofcode/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
from ...contributor import Contributor
2525
from ...pubsub import send_to_changelog
2626

27+
2728
tg = t.g
2829
t = t.adventofcode
2930

integrations/cleverbot/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from ...contributor import Contributor
2020
from ...pubsub import send_to_changelog
2121

22+
2223
tg = t.g
2324
t = t.cleverbot
2425

integrations/python_docs/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
from .colors import Colors
4747
from ...contributor import Contributor
4848

49+
4950
tg = t.g
5051
t = t.python_docs
5152

integrations/reddit/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from ...contributor import Contributor
2323
from ...pubsub import send_alert, send_to_changelog
2424

25+
2526
tg = t.g
2627
t = t.reddit
2728

integrations/run_code/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from .api import PistonAPI, PistonException
1717
from ...contributor import Contributor
1818

19+
1920
logger = get_logger(__name__)
2021

2122
tg = t.g

moderation/autoclear/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from ...contributor import Contributor
2121
from ...pubsub import send_alert, send_to_changelog
2222

23+
2324
tg = t.g
2425
t = t.autoclear
2526

moderation/automod/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from ...contributor import Contributor
1717
from ...pubsub import log_auto_kick, revoke_verification, send_alert, send_to_changelog
1818

19+
1920
tg = t.g
2021
t = t.automod
2122

moderation/autorole/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from .permissions import AutoRolePermission
1717
from ...pubsub import send_to_changelog
1818

19+
1920
tg = t.g
2021
t = t.autorole
2122

moderation/invites/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
from ...contributor import Contributor
2525
from ...pubsub import get_userlog_entries, send_alert, send_to_changelog
2626

27+
2728
tg = t.g
2829
t = t.invites
2930

moderation/logging/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
from ...contributor import Contributor
2525
from ...pubsub import can_respond_on_reaction, ignore_message_delete, ignore_message_edit, send_alert, send_to_changelog
2626

27+
2728
logger = get_logger(__name__)
2829

2930
tg = t.g

moderation/mediaonly/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from ...contributor import Contributor
2121
from ...pubsub import can_respond_on_reaction, get_userlog_entries, send_alert, send_to_changelog
2222

23+
2324
tg = t.g
2425
t = t.mediaonly
2526

moderation/message/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from ...contributor import Contributor
1616
from ...pubsub import send_alert
1717

18+
1819
tg = t.g
1920
t = t.message
2021

moderation/mod/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
send_to_changelog,
3030
)
3131

32+
3233
tg = t.g
3334
t = t.mod
3435

moderation/role_notifications/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from .permissions import RoleNotificationsPermission
1818
from ...pubsub import send_alert, send_to_changelog
1919

20+
2021
tg = t.g
2122
t = t.role_notifications
2223

moderation/spam_detection/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from .settings import SpamDetectionSettings
1616
from ...pubsub import send_alert, send_to_changelog
1717

18+
1819
tg = t.g
1920
t = t.spam_detection
2021

moderation/threads/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from ...contributor import Contributor
2020
from ...pubsub import send_alert
2121

22+
2223
tg = t.g
2324
t = t.threads
2425

moderation/user_notes/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from ...contributor import Contributor
2222
from ...pubsub import get_userlog_entries, send_to_changelog
2323

24+
2425
tg = t.g
2526
t = t.user_notes
2627

moderation/verification/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from ...contributor import Contributor
1919
from ...pubsub import send_alert, send_to_changelog
2020

21+
2122
tg = t.g
2223
t = t.verification
2324

pubsub.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from PyDrocsid.pubsub import PubSubChannel
22

3+
34
send_to_changelog = PubSubChannel()
45
send_alert = PubSubChannel()
56
log_auto_kick = PubSubChannel()

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ skip-magic-trailing-comma = true
5757
profile = "black"
5858
py_version = 310
5959
line_length = 120
60+
lines_after_imports = 2
6061
reverse_relative = true
6162
known_pydrocsid = ["PyDrocsid"]
6263
sections = ["FUTURE", "STDLIB", "FIRSTPARTY", "THIRDPARTY", "PYDROCSID", "LOCALFOLDER"]

translations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
from PyDrocsid.translations import load_translations
44

5+
56
load_translations(Path(__file__).parent)

0 commit comments

Comments
 (0)