Skip to content

Commit 03886d6

Browse files
committed
disabled too few public methods pylint error
1 parent 57fa599 commit 03886d6

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

__pycache__/settings.cpython-311.pyc

40 Bytes
Binary file not shown.

settings.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,20 @@
1515
"""
1616
import os
1717

18+
# pylint: disable=too-few-public-methods
1819
class Config:
1920
"""
20-
Config class containing the configuration settings for the application.
21+
Configuration class for the application.
22+
23+
This class holds the configuration settings for the application,
24+
such as the secret key, base directory, debug mode, and token.
25+
26+
Attributes:
27+
SECRET_KEY (str): A secret key for the application.
28+
basedir (str): The absolute path of the directory where the script runs.
29+
DEBUG (bool): Enable or disable debug mode.
30+
TOKEN (str): The token for authentication.
31+
2132
"""
2233

2334
SECRET_KEY = os.urandom(32)
@@ -26,4 +37,4 @@ class Config:
2637
# Enable debug mode.
2738
DEBUG = True
2839
# put your token here
29-
TOKEN = "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"
40+
TOKEN = "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"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy