mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Remove unused imports
This commit is contained in:
parent
94980b3d15
commit
6b4f39428b
11 changed files with 9 additions and 11 deletions
|
@ -3,3 +3,4 @@ websockets>=7.0
|
||||||
pytest>=4.3.1
|
pytest>=4.3.1
|
||||||
psycopg2-binary>=2.8
|
psycopg2-binary>=2.8
|
||||||
aiohttp>=3.5.4
|
aiohttp>=3.5.4
|
||||||
|
Markdown>=3.1
|
||||||
|
|
|
@ -3,7 +3,6 @@ import asyncio
|
||||||
import typing
|
import typing
|
||||||
import logging as _logging
|
import logging as _logging
|
||||||
import sys
|
import sys
|
||||||
import re
|
|
||||||
from ..commands import NullCommand
|
from ..commands import NullCommand
|
||||||
from ..utils import asyncify, Call, Command
|
from ..utils import asyncify, Call, Command
|
||||||
from ..network import RoyalnetLink, Message
|
from ..network import RoyalnetLink, Message
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from ..utils import Command, CommandArgs, Call
|
from ..utils import Command, Call
|
||||||
|
|
||||||
|
|
||||||
class ColorCommand(Command):
|
class ColorCommand(Command):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from ..utils import Command, CommandArgs, Call
|
from ..utils import Command, Call
|
||||||
from ..database.tables import Royal, Telegram
|
from ..database.tables import Royal, Telegram
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from ..utils import Command, CommandArgs, Call, asyncify
|
from ..utils import Command, Call, asyncify
|
||||||
from ..database.tables import Royal, Alias
|
from ..database.tables import Royal, Alias
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from ..utils import Command, CommandArgs, Call
|
from ..utils import Command, Call
|
||||||
|
|
||||||
|
|
||||||
class NullCommand(Command):
|
class NullCommand(Command):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
from ..utils import Command, CommandArgs, Call, InvalidInputError
|
from ..utils import Command, Call, InvalidInputError
|
||||||
|
|
||||||
|
|
||||||
class PingCommand(Command):
|
class PingCommand(Command):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import re
|
import re
|
||||||
from ..utils import Command, CommandArgs, Call, safeformat
|
from ..utils import Command, Call, safeformat
|
||||||
|
|
||||||
|
|
||||||
SHIP_RESULT = "💕 {one} + {two} = [b]{result}[/b]"
|
SHIP_RESULT = "💕 {one} + {two} = [b]{result}[/b]"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import random
|
import random
|
||||||
from ..utils import Command, CommandArgs, Call, safeformat
|
from ..utils import Command, Call, safeformat
|
||||||
|
|
||||||
|
|
||||||
DS_LIST = ["della secca", "del seccatore", "del secchiello", "del secchio", "del secchione", "del secondino",
|
DS_LIST = ["della secca", "del seccatore", "del secchiello", "del secchio", "del secchione", "del secondino",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import typing
|
import typing
|
||||||
from telegram import Update, User
|
from telegram import Update, User
|
||||||
from ..utils import Command, CommandArgs, Call, asyncify, UnsupportedError
|
from ..utils import Command, Call, asyncify, UnsupportedError
|
||||||
from ..database.tables import Royal, Telegram
|
from ..database.tables import Royal, Telegram
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
from sqlalchemy import Column, \
|
from sqlalchemy import Column, \
|
||||||
Integer, \
|
Integer, \
|
||||||
String, \
|
String, \
|
||||||
BigInteger, \
|
|
||||||
LargeBinary, \
|
|
||||||
ForeignKey
|
ForeignKey
|
||||||
from sqlalchemy.orm import relationship
|
from sqlalchemy.orm import relationship
|
||||||
from .royals import Royal
|
from .royals import Royal
|
||||||
|
|
Loading…
Reference in a new issue