mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Fix tox.ini / test runner.
This commit is contained in:
		
							parent
							
								
									9241b4b20f
								
							
						
					
					
						commit
						a24d199161
					
				@ -1 +0,0 @@
 | 
			
		||||
tox
 | 
			
		||||
							
								
								
									
										16
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								tox.ini
									
									
									
									
									
								
							@ -9,7 +9,7 @@ envlist =
 | 
			
		||||
# ignore missing setup.py
 | 
			
		||||
skipsdist = True
 | 
			
		||||
 | 
			
		||||
[testenv:py]
 | 
			
		||||
[testenv]
 | 
			
		||||
setenv =
 | 
			
		||||
    PYTHONDONTWRITEBYTECODE = 1
 | 
			
		||||
deps =
 | 
			
		||||
@ -19,22 +19,14 @@ deps =
 | 
			
		||||
    ipython
 | 
			
		||||
    pytest
 | 
			
		||||
commands =
 | 
			
		||||
    coverage run --source=bin/ -m pytest -vv -rxs --tb native -s --durations 10 --strict {posargs:tests}
 | 
			
		||||
    coverage run --source=bin/ -m py.test -rxs --tb native -s --strict {posargs:tests}
 | 
			
		||||
    coverage report -m
 | 
			
		||||
 | 
			
		||||
[testenv:flake8]
 | 
			
		||||
deps =
 | 
			
		||||
    flake8
 | 
			
		||||
    pyflakes
 | 
			
		||||
    pep8
 | 
			
		||||
    mccabe
 | 
			
		||||
commands =
 | 
			
		||||
    flake8 .
 | 
			
		||||
 | 
			
		||||
[testenv:pre-commit]
 | 
			
		||||
deps =
 | 
			
		||||
    pre-commit
 | 
			
		||||
command =
 | 
			
		||||
    pre-commit>=0.7.0
 | 
			
		||||
commands =
 | 
			
		||||
    pre-commit {posargs}
 | 
			
		||||
 | 
			
		||||
[pytest]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user