10000 Add Python type annotation for base Compute API by Kami · Pull Request #1306 · apache/libcloud · GitHub
[go: up one dir, main page]

Skip to content

Add Python type annotation for base Compute API #1306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Nov 24, 2019
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add tox mypy target.
  • Loading branch information
Kami committed Jul 9, 2019
commit 100116d6b0bda1c9c0fb8ff827251bbd24bbf49d
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ basepython =
py3.5: python3.5
py3.6: python3.6
py3.7: python3.7
mypy: python3.7
whitelist_externals = cp
bash
scripts/*.sh
Expand Down Expand Up @@ -122,3 +123,11 @@ set-env =
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
coverage run --source=libcloud setup.py test
codecov

[testenv:mypy]
deps =
setuptools==41.0.1
typing
mypy
commands =
mypy --no-incremental libcloud/compute/base/
0