summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2023-03-24 20:33:20 +0800
committerGitHub <noreply@github.com>2023-03-24 08:33:20 -0400
commit41f1deb6d689d41b300245dd4d8b2df19b0af9bf (patch)
tree5043ba8d8407d5f67595dcace5f10ce14194448e /tox.ini
parent240ae6fd46ab2752148136ce5855e5e975adc96b (diff)
downloadpyopenssl-41f1deb6d689d41b300245dd4d8b2df19b0af9bf.tar.gz
parallel twisted tests and newer mypy (#1197)
* parallel twisted tests and newer mypy * update mypy env
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 5e00317..148d6bc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py{py,py3,36,37,38,39,310,311}{,-cryptographyMain,-cryptographyMinimum}{,-useWheel}{,-randomorder},py37-twistedTrunk,check-manifest,flake8,py36-mypy,docs,coverage-report
+envlist = py{py,py3,36,37,38,39,310,311}{,-cryptographyMain,-cryptographyMinimum}{,-useWheel}{,-randomorder},py37-twistedTrunk,check-manifest,flake8,py311-mypy,docs,coverage-report
[testenv]
allowlist_externals =
@@ -39,7 +39,7 @@ setenv =
commands =
python -c "import OpenSSL.SSL; print(OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION))"
python -c "import cryptography; print(cryptography.__version__)"
- python -m twisted.trial --reporter=text twisted
+ python -m twisted.trial -j4 --reporter=text twisted
[testenv:flake8]
basepython = python3
@@ -52,9 +52,9 @@ commands =
black --check .
flake8 .
-[testenv:py36-mypy]
+[testenv:py311-mypy]
deps =
- mypy==0.950
+ mypy==1.1.1
skip_install = true
commands =
mypy src