mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Exclude vendorized argparse lib from coverage report.
This commit is contained in:
		
							parent
							
								
									e75d4d4d11
								
							
						
					
					
						commit
						180c5d8402
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							@ -40,11 +40,11 @@ tar:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
test: pre-commit
 | 
					test: pre-commit
 | 
				
			||||||
	@find . -type f -iname '*.py[co]' -delete
 | 
						@find . -type f -iname '*.py[co]' -delete
 | 
				
			||||||
	tox
 | 
						@tox
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test-fast: pre-commit
 | 
					test-fast: pre-commit
 | 
				
			||||||
	@find . -type f -iname '*.py[co]' -delete
 | 
						@find . -type f -iname '*.py[co]' -delete
 | 
				
			||||||
	tox -e py27
 | 
						@tox -e py27
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	@find . -type f -iname '*.py[co]' -delete
 | 
						@find . -type f -iname '*.py[co]' -delete
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										3
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								tox.ini
									
									
									
									
									
								
							@ -18,7 +18,8 @@ deps =
 | 
				
			|||||||
    ipython
 | 
					    ipython
 | 
				
			||||||
    pytest
 | 
					    pytest
 | 
				
			||||||
commands =
 | 
					commands =
 | 
				
			||||||
    coverage run --source=bin/ -m py.test -rxs --tb native -s --strict {posargs:tests}
 | 
					    coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
 | 
				
			||||||
 | 
					        py.test -rxs --tb native -s --strict {posargs:tests}
 | 
				
			||||||
    coverage report -m
 | 
					    coverage report -m
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user