From 613840ebcf303e84048d48ace37fb001c1afe687 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 6 May 2023 16:12:32 +0100 Subject: Apply fixes for ruff linting Co-authored-by: wookie184 Co-authored-by: Amrou Bellalouna --- bot/constants.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index a5f12fe2..230cccf0 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -129,6 +129,8 @@ Logging = _Logging() class Colours: + """Lookups for commonly used colours.""" + blue = 0x0279FD twitter_blue = 0x1DA1F2 bright_green = 0x01D277 @@ -163,6 +165,8 @@ class Colours: class Emojis: + """Commonly used emojis.""" + cross_mark = "\u274C" check = "\u2611" envelope = "\U0001F4E8" @@ -235,6 +239,8 @@ class Emojis: class Icons: + """URLs to commonly used icons.""" + questionmark = "https://cdn.discordapp.com/emojis/512367613339369475.png" bookmark = ( "https://images-ext-2.discordapp.net/external/zl4oDwcmxUILY7sD9ZWE2fU5R7n6QcxEmPYSE5eddbg/" @@ -243,6 +249,8 @@ class Icons: class Month(enum.IntEnum): + """Month of the year lookup. Used for in_month checks.""" + JANUARY = 1 FEBRUARY = 2 MARCH = 3 -- cgit v1.2.3