diff options
author | lovetox <philipp@hoerist.com> | 2022-05-20 14:44:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 14:44:59 +0200 |
commit | dd98e31ad6f9e33f351d47246d6d09c804ba8c29 (patch) | |
tree | b356ff30f5d8d45ef0023f6985059575522364ca /tox.ini | |
parent | 45ebb73416a67cb87b7ca0bfcfe7902b4f38250a (diff) | |
download | pyopenssl-dd98e31ad6f9e33f351d47246d6d09c804ba8c29.tar.gz |
Add inline type annotations (#1089)
* crypto: Add type annotations
* Don’t redefine var
mypy complains about the redefinition
* _util: Add type annotations
* rand: Add type annotations
* Prepare package & CI for running mypy
* fix toxenv name
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = {pypy,pypy3,py36,py37,py38,py39,py310}{,-cryptographyMain,-cryptographyMinimum}{,-useWheel}{,-randomorder},py37-twistedTrunk,check-manifest,flake8,docs,coverage-report +envlist = {pypy,pypy3,py36,py37,py38,py39,py310}{,-cryptographyMain,-cryptographyMinimum}{,-useWheel}{,-randomorder},py37-twistedTrunk,check-manifest,flake8,py36-mypy,docs,coverage-report [testenv] whitelist_externals = @@ -44,6 +44,13 @@ commands = black --check . flake8 . +[testenv:py36-mypy] +deps = + mypy==0.950 +skip_install = true +commands = + mypy src + [testenv:check-manifest] deps = check-manifest |