Reordered imports

- stdlib
- 3rd-party (pip)
- discord
- local (common, info, utils, & resources)
- data

Element of #142
New year lint removal
This commit is contained in:
0x5c 2020-02-05 07:09:08 -05:00
parent e37fdf40fb
commit 6803b058d5
No known key found for this signature in database
GPG Key ID: 82039FC95E3FE970
4 changed files with 14 additions and 12 deletions

View File

@ -16,11 +16,11 @@ the GNU General Public License, version 2.
# KC4USA: reserved, no call history, *but* has application history # KC4USA: reserved, no call history, *but* has application history
import discord.ext.commands as commands
import aiohttp import aiohttp
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
import discord.ext.commands as commands
import common as cmn import common as cmn

View File

@ -10,9 +10,10 @@ the GNU General Public License, version 2.
import threading import threading
from discord.ext import commands, tasks
from ctyparser import BigCty from ctyparser import BigCty
from discord.ext import commands, tasks
import common as cmn import common as cmn

View File

@ -11,12 +11,13 @@ the GNU General Public License, version 2.
from collections import OrderedDict from collections import OrderedDict
from io import BytesIO from io import BytesIO
from discord.ext import commands, tasks
import aiohttp import aiohttp
from lxml import etree from lxml import etree
from discord.ext import commands, tasks
import common as cmn import common as cmn
import data.keys as keys import data.keys as keys

14
main.py
View File

@ -9,11 +9,11 @@ the GNU General Public License, version 2.
""" """
import asyncio
import random
import sys import sys
import traceback import traceback
import asyncio from datetime import datetime, time
from datetime import time, datetime
import random
from types import SimpleNamespace from types import SimpleNamespace
import pytz import pytz
@ -21,12 +21,12 @@ import pytz
import discord import discord
from discord.ext import commands, tasks from discord.ext import commands, tasks
import utils.connector as conn
import common as cmn
import info import info
import data.options as opt import common as cmn
import utils.connector as conn
import data.keys as keys import data.keys as keys
import data.options as opt
# --- Settings --- # --- Settings ---