Skip to content

Commit 3a934d5

Browse files
committed
updating
1 parent 74d34a4 commit 3a934d5

File tree

6 files changed

+22
-2
lines changed

6 files changed

+22
-2
lines changed

.pylintrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[MESSAGES CONTROL]
2+
disable=
3+
too-few-public-methods,
4+
broad-except
5+
6+
[MASTER]
7+
ignore-patterns=test_.*\.py
8+
9+
[FORMAT]
10+
max-line-length=100
11+
12+
[REPORTS]
13+
output-format=colorized
14+
reports=no

src/guildmaster/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
This is the __init__.py file for the GuildMaster package.
33
It initializes the package and sets the version.
44
"""
5-
__version__ = "1.1.1"
5+
6+
__version__ = "1.1.1"

src/guildmaster/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# guildmaster.cli
33
A command line interface for managing Discord server tasks and settings.
44
"""
5+
56
import sys
67
import fire
78
from guildmaster.tasks.role_manager import DiscordRoleManager

src/guildmaster/client/discord_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
A module for managing the Discord client connection.
44
This module provides functionality to connect to Discord using a bot token.
55
"""
6+
67
import os
78
import discord
89
from discord.ext import commands
@@ -14,6 +15,7 @@ class DiscordClient:
1415
"""
1516
A class for managing the Discord client connection.
1617
"""
18+
1719
def __init__(self):
1820
intents = discord.Intents.default()
1921
intents.members = True

src/guildmaster/config/logger.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
"""
22
A module for configuring logging in the GuildMaster application.
33
"""
4+
45
import logging
56

67

78
class Logger:
89
"""
910
A class for setting up a logger for the GuildMaster application.
1011
"""
11-
12+
1213
@staticmethod
1314
def setup_logger(name: str, level: int = logging.INFO) -> logging.Logger:
1415
"""

src/guildmaster/tasks/role_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
A module for managing roles in a Discord server.
44
This module provides functionality to assign a specific role to all members of a Discord server.
55
"""
6+
67
import asyncio
78
import discord
89
from tqdm.asyncio import tqdm

0 commit comments

Comments
 (0)