Import order...

This commit is contained in:
mrhanky 2017-06-30 14:09:46 +02:00
parent 36a3e5c49b
commit 45c4b55cf2
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8
11 changed files with 9 additions and 15 deletions

View File

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import irc3
from docopt import Dict as DocoptDict
from irc3.plugins.command import command
from irc3.utils import IrcString

View File

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
import irc3
import requests
from docopt import Dict as DocOptDict
from irc3.plugins.command import command
from irc3.utils import IrcString

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import irc3
import time
import irc3
from docopt import Dict as DocOptDict
from irc3.plugins.command import command
from irc3.utils import IrcString

View File

@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
import random
import irc3
import feedparser
from docopt import Dict as DocOptDict
from irc3.plugins.command import command
from irc3.utils import IrcString

View File

@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
from datetime import datetime, timedelta
import asyncio
from datetime import datetime, timedelta
import irc3
from docopt import Dict as DocOptDict
from irc3.plugins.command import command
from irc3.utils import IrcString
import irc3
from . import DatabasePlugin
from ..utils import time_delta

View File

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
import irc3
import requests
from docopt import Dict as DocOptDict
from irc3.plugins.command import command
from irc3.utils import IrcString

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import irc3
import random
import irc3
from docopt import Dict as DocOptDict
from irc3.plugins.command import command
from irc3.utils import IrcString

View File

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
import irc3
import requests
from docopt import Dict as DocOptDict
from irc3.plugins.command import command
from irc3.utils import IrcString

View File

@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
import irc3
import os
import re
import requests
import irc3
import requests
from docopt import Dict as DocOptDict
from irc3.plugins.command import command
from irc3.utils import IrcString

View File

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import re
from datetime import datetime, timedelta
@ -32,6 +31,7 @@ def time_delta(text: str) -> timedelta:
return timedelta(**{unit: num})
# Stolen from uguubot - useless?
def time_since(date: datetime, now: datetime = None):
"""
Takes two datetime objects and returns the time between d and now

View File

@ -2,15 +2,13 @@
import sys
import os
import re
from pprint import pprint
import requests
import psycopg2
from dotenv import load_dotenv
from psycopg2.extras import DictCursor
# Handy alias for pprint
pp = pprint
from nxy.utils import *
# Load dotenv from DOTENV_FILE variable (or the default one)
load_dotenv(os.environ.get('DOTENV_FILE', '.env'))