tox: remove checkqa-mypy environment
We run mypy through pre-commit, and we don't keep duplicate targets in tox for all of the other linters. Since this adds some (small) maintenance overhead, remove it.
This commit is contained in:
		
							parent
							
								
									b95991aeea
								
							
						
					
					
						commit
						de810152ec
					
				|  | @ -49,7 +49,7 @@ repos: | ||||||
|     hooks: |     hooks: | ||||||
|     -   id: python-use-type-annotations |     -   id: python-use-type-annotations | ||||||
| -   repo: https://github.com/pre-commit/mirrors-mypy | -   repo: https://github.com/pre-commit/mirrors-mypy | ||||||
|     rev: v0.790  # NOTE: keep this in sync with setup.cfg. |     rev: v0.790 | ||||||
|     hooks: |     hooks: | ||||||
|     -   id: mypy |     -   id: mypy | ||||||
|         files: ^(src/|testing/) |         files: ^(src/|testing/) | ||||||
|  |  | ||||||
|  | @ -62,8 +62,6 @@ console_scripts = | ||||||
|     py.test=pytest:console_main |     py.test=pytest:console_main | ||||||
| 
 | 
 | ||||||
| [options.extras_require] | [options.extras_require] | ||||||
| checkqa-mypy = |  | ||||||
|     mypy==0.790 |  | ||||||
| testing = | testing = | ||||||
|     argcomplete |     argcomplete | ||||||
|     hypothesis>=3.56 |     hypothesis>=3.56 | ||||||
|  |  | ||||||
							
								
								
									
										13
									
								
								tox.ini
								
								
								
								
							
							
						
						
									
										13
									
								
								tox.ini
								
								
								
								
							|  | @ -59,19 +59,6 @@ basepython = python3 | ||||||
| deps = pre-commit>=1.11.0 | deps = pre-commit>=1.11.0 | ||||||
| commands = pre-commit run --all-files --show-diff-on-failure {posargs:} | commands = pre-commit run --all-files --show-diff-on-failure {posargs:} | ||||||
| 
 | 
 | ||||||
| [testenv:mypy] |  | ||||||
| extras = checkqa-mypy, testing |  | ||||||
| commands = mypy {posargs:src testing} |  | ||||||
| 
 |  | ||||||
| [testenv:mypy-diff] |  | ||||||
| extras = checkqa-mypy, testing |  | ||||||
| deps = |  | ||||||
|     lxml |  | ||||||
|     diff-cover |  | ||||||
| commands = |  | ||||||
|   -mypy --cobertura-xml-report {envtmpdir} {posargs:src testing} |  | ||||||
|   diff-cover --fail-under=100 --compare-branch={env:DIFF_BRANCH:origin/{env:GITHUB_BASE_REF:master}} {envtmpdir}/cobertura.xml |  | ||||||
| 
 |  | ||||||
| [testenv:docs] | [testenv:docs] | ||||||
| basepython = python3 | basepython = python3 | ||||||
| usedevelop = True | usedevelop = True | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue