mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-11-04 03:02:15 +01:00 
			
		
		
		
	Enabled Python 3.10 tests in Tox.
This commit is contained in:
		
							
								
								
									
										20
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								tox.ini
									
									
									
									
									
								
							@@ -1,7 +1,7 @@
 | 
				
			|||||||
[tox]
 | 
					[tox]
 | 
				
			||||||
envlist =
 | 
					envlist =
 | 
				
			||||||
	py{py3}-{test,pylint,flake8,vulture}
 | 
						py{py3}-{test,pylint,flake8,vulture}
 | 
				
			||||||
	py{36,37,38,39}-{test,mypy,pylint,flake8,vulture}
 | 
						py{36,37,38,39,310}-{test,mypy,pylint,flake8,vulture}
 | 
				
			||||||
	cov
 | 
						cov
 | 
				
			||||||
skip_missing_interpreters = true
 | 
					skip_missing_interpreters = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -9,11 +9,11 @@ skip_missing_interpreters = true
 | 
				
			|||||||
deps =
 | 
					deps =
 | 
				
			||||||
	test: pytest<6.0
 | 
						test: pytest<6.0
 | 
				
			||||||
	test,cov: {[testenv:cov]deps}
 | 
						test,cov: {[testenv:cov]deps}
 | 
				
			||||||
	test,py{36,37,38,39}-{type,mypy}: colorama
 | 
						test,py{36,37,38,39,310}-{type,mypy}: colorama
 | 
				
			||||||
	py{36,37,38,39}-{type,mypy}: {[testenv:mypy]deps}
 | 
						py{36,37,38,39,310}-{type,mypy}: {[testenv:mypy]deps}
 | 
				
			||||||
	py{py3,36,37,38,39}-{lint,pylint},lint: {[testenv:pylint]deps}
 | 
						py{py3,36,37,38,39,310}-{lint,pylint},lint: {[testenv:pylint]deps}
 | 
				
			||||||
	py{py3,36,37,38,39}-{lint,flake8},lint: {[testenv:flake8]deps}
 | 
						py{py3,36,37,38,39,310}-{lint,flake8},lint: {[testenv:flake8]deps}
 | 
				
			||||||
	py{py3,36,37,38,39}-{lint,vulture},lint: {[testenv:vulture]deps}
 | 
						py{py3,36,37,38,39,310}-{lint,vulture},lint: {[testenv:vulture]deps}
 | 
				
			||||||
setenv =
 | 
					setenv =
 | 
				
			||||||
	SSHAUDIT = {toxinidir}/src
 | 
						SSHAUDIT = {toxinidir}/src
 | 
				
			||||||
	test: COVERAGE_FILE = {toxinidir}/.coverage.{envname}
 | 
						test: COVERAGE_FILE = {toxinidir}/.coverage.{envname}
 | 
				
			||||||
@@ -25,10 +25,10 @@ commands =
 | 
				
			|||||||
	test: coverage combine
 | 
						test: coverage combine
 | 
				
			||||||
	test: coverage report --show-missing
 | 
						test: coverage report --show-missing
 | 
				
			||||||
	test: coverage html -d {toxinidir}/reports/html/coverage.{envname}
 | 
						test: coverage html -d {toxinidir}/reports/html/coverage.{envname}
 | 
				
			||||||
	py{36,37,38,39}-{type,mypy}: {[testenv:mypy]commands}
 | 
						py{36,37,38,39,310}-{type,mypy}: {[testenv:mypy]commands}
 | 
				
			||||||
	py{py3,36,37,38,39}-{lint,pylint},lint: {[testenv:pylint]commands}
 | 
						py{py3,36,37,38,39,310}-{lint,pylint},lint: {[testenv:pylint]commands}
 | 
				
			||||||
	py{py3,36,37,38,39}-{lint,flake8},lint: {[testenv:flake8]commands}
 | 
						py{py3,36,37,38,39,310}-{lint,flake8},lint: {[testenv:flake8]commands}
 | 
				
			||||||
	py{py3,36,37,38,39}-{lint,vulture},lint: {[testenv:vulture]commands}
 | 
						py{py3,36,37,38,39,310}-{lint,vulture},lint: {[testenv:vulture]commands}
 | 
				
			||||||
#ignore_outcome =
 | 
					#ignore_outcome =
 | 
				
			||||||
#	type: true
 | 
					#	type: true
 | 
				
			||||||
#	lint: true
 | 
					#	lint: true
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user