Adding scaffolding and example testing file.
This commit is contained in:
		
							parent
							
								
									22fb111bd5
								
							
						
					
					
						commit
						7d81a404ed
					
				
					 5 changed files with 47 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								tox.ini
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								tox.ini
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,23 @@
 | 
			
		|||
[tox]
 | 
			
		||||
envlist=
 | 
			
		||||
    py{27,34,35},
 | 
			
		||||
    flake8
 | 
			
		||||
skipsdist=true
 | 
			
		||||
 | 
			
		||||
[flake8]
 | 
			
		||||
max-line-length= 100
 | 
			
		||||
exclude= tests/*
 | 
			
		||||
 | 
			
		||||
[testenv]
 | 
			
		||||
commands=py.test {posargs:tests}
 | 
			
		||||
deps =
 | 
			
		||||
    -r{toxinidir}/requirements-dev.txt
 | 
			
		||||
basepython =
 | 
			
		||||
    py27: python2.7
 | 
			
		||||
    py34: python3.4
 | 
			
		||||
    py35: python3.5
 | 
			
		||||
 | 
			
		||||
[testenv:flake8]
 | 
			
		||||
basepython=python
 | 
			
		||||
deps=flake8
 | 
			
		||||
commands=flake8 {toxinidir}/web3
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue