Skip to content

Commit 6289364

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0764f6b commit 6289364

24 files changed

+36
-10
lines changed

bot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Main file for running and starting the bot, with general global commands."""
2+
23
import random
34
import re
45
from typing import Optional

constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Constants for the bot."""
2+
23
import json
34
import os
45

logs/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Stores classes for storing log data and player stats"""
2+
23
from steam.steamid import SteamID
34

45
from database import BotCollection

logs/elo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Elo calculations, storage and utilities."""
2+
23
from difflib import SequenceMatcher
34
import math
45
from typing import Any

logs/elo_cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This cog contains the elo cog with commands to configure elo and add missing logs."""
2+
23
import asyncio
34
import time
45

logs/logs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This cog contains the logs command and its subcommands."""
2+
23
import nextcord
34
from nextcord.ext import commands, application_checks
45
from database import BotCollection

logs/logstf_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""File storing the LogsAPI class, which is used to interact with the Logs.tf API."""
2+
23
import asyncio
34

45
import aiohttp

logs/searcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Implements the log searcher file, which takes the players from a team generation or moved back and searches for the log associated with the game that was played/being played."""
2+
23
import time
34
import traceback
45

logs/stats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Cog that handles stats and showing stats to players."""
2+
23
from typing import Optional
34
import nextcord
45
from nextcord.ext import commands

pug/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Holds classes for pug commands/setup"""
2+
23
from typing import Union, List, Dict
34
import time
45

0 commit comments

Comments
 (0)