mirror of
				https://github.com/enpaul/tox-poetry-installer.git
				synced 2025-11-04 07:46:06 +00:00 
			
		
		
		
	Fix toxfile config errors
Fix invalid path in pytest command causing coverage to fail to report Fix missing dependency in static tests env Fix misspelled config argument in static-tests and security envs
This commit is contained in:
		
							
								
								
									
										7
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								tox.ini
									
									
									
									
									
								
							@@ -13,7 +13,7 @@ locked_deps =
 | 
			
		||||
    pytest-cov
 | 
			
		||||
    toml
 | 
			
		||||
commands =
 | 
			
		||||
    pytest --cov {envsitepackagesdir}/tox_poetry_installer --cov-config {toxinidir}/.coveragerc --cov-report term-missing tests/
 | 
			
		||||
    pytest --cov {toxinidir}/tox_poetry_installer --cov-config {toxinidir}/.coveragerc --cov-report term-missing {toxinidir}/tests/
 | 
			
		||||
 | 
			
		||||
[testenv:static]
 | 
			
		||||
description = Static formatting and quality enforcement
 | 
			
		||||
@@ -40,10 +40,11 @@ commands =
 | 
			
		||||
description = Static formatting and quality enforcement for the tests
 | 
			
		||||
basepython = python3.8
 | 
			
		||||
platform = linux
 | 
			
		||||
ingore_errors = true
 | 
			
		||||
ignore_errors = true
 | 
			
		||||
require_locked_deps = true
 | 
			
		||||
locked_deps =
 | 
			
		||||
    pylint
 | 
			
		||||
    pytest
 | 
			
		||||
    mypy
 | 
			
		||||
commands =
 | 
			
		||||
    pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/tests/
 | 
			
		||||
@@ -53,7 +54,7 @@ commands =
 | 
			
		||||
description = Security checks
 | 
			
		||||
basepython = python3.8
 | 
			
		||||
platform = linux
 | 
			
		||||
ingore_errors = true
 | 
			
		||||
ignore_errors = true
 | 
			
		||||
require_locked_deps = true
 | 
			
		||||
locked_deps =
 | 
			
		||||
    bandit
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user