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