Add tox file and clean up a lint error
This commit is contained in:
		
							parent
							
								
									894e7b1b2e
								
							
						
					
					
						commit
						aeb784b3cd
					
				
					 3 changed files with 5 additions and 2 deletions
				
			
		|  | @ -8,4 +8,4 @@ install: | |||
|   - pip install -e . | ||||
| 
 | ||||
| script: | ||||
|   - flake8 --max-line-length=100 --max-complexity=24 --statistics --benchmark symposion | ||||
|   - flake8 symposion | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ except ImportError: | |||
| 
 | ||||
| def load_path_attr(path): | ||||
|     i = path.rfind(".") | ||||
|     module, attr = path[:i], path[i+1:] | ||||
|     module, attr = path[:i], path[i + 1:] | ||||
|     try: | ||||
|         mod = import_module(module) | ||||
|     except ImportError, e: | ||||
|  |  | |||
							
								
								
									
										3
									
								
								tox.ini
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								tox.ini
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| [flake8] | ||||
| ignore = E501,E265 | ||||
| exclude = migrations | ||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Patrick Altman
						Patrick Altman