mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-11 20:52:42 +01:00
Remove unused imports
This commit is contained in:
parent
94f83eb33b
commit
d270a18285
@ -8,7 +8,6 @@ from collections import defaultdict
|
|||||||
import hashlib
|
import hashlib
|
||||||
|
|
||||||
from log import log
|
from log import log
|
||||||
import utils
|
|
||||||
from conf import conf
|
from conf import conf
|
||||||
import world
|
import world
|
||||||
|
|
||||||
|
1
main.py
1
main.py
@ -11,7 +11,6 @@ world.testing = False
|
|||||||
import conf
|
import conf
|
||||||
from log import log
|
from log import log
|
||||||
import classes
|
import classes
|
||||||
import utils
|
|
||||||
import coreplugin
|
import coreplugin
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
import glob
|
import glob
|
||||||
import imp
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||||
from log import log
|
|
||||||
|
|
||||||
import classes
|
import classes
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
# Yes, we're going to even test the testing classes. Testception? I think so.
|
|
||||||
class TestFakeIRC(unittest.TestCase):
|
class TestFakeIRC(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.irc = classes.FakeIRC('unittest', classes.FakeProto())
|
self.irc = classes.FakeIRC('unittest', classes.FakeProto())
|
||||||
|
@ -2,7 +2,6 @@ import sys
|
|||||||
import os
|
import os
|
||||||
sys.path += [os.getcwd(), os.path.join(os.getcwd(), 'protocols')]
|
sys.path += [os.getcwd(), os.path.join(os.getcwd(), 'protocols')]
|
||||||
import unittest
|
import unittest
|
||||||
from collections import defaultdict
|
|
||||||
|
|
||||||
import inspircd
|
import inspircd
|
||||||
import classes
|
import classes
|
||||||
|
@ -4,7 +4,6 @@ cwd = os.getcwd()
|
|||||||
sys.path += [cwd, os.path.join(cwd, 'plugins')]
|
sys.path += [cwd, os.path.join(cwd, 'plugins')]
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import utils
|
|
||||||
import classes
|
import classes
|
||||||
import relay
|
import relay
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user