cinder/tools
Eric Harney 6e53c264b6 Add mypy tox env
Add a "mypy" tox environment which runs mypy
type checking against Cinder code.

Taken from Stephen Finucane's Nova work at
https://review.opendev.org/#/c/676208/

Added "show_error_codes" and "pretty" options.

Generates an html report in ./mypy-report/

This adds stubs for oslo.i18n, so that _() calls
are annotated as intended.  It may be possible to
do this with less .pyi files carried along here.

Change-Id: I2589d22c1f16f2e177d34730a520591743c0c1e3
2020-10-14 08:24:13 -04:00
..
config Stop invoking Python 2 2020-04-24 09:23:52 +02:00
hooks Fix multibackend-matrix confs 2017-02-15 16:01:32 -02:00
check_exec.py Port check_exec.py to Python 3 2019-09-26 10:13:53 -04:00
coding-checks.sh Merge "Fix pylint env for ancient versions of git" 2019-10-14 20:56:59 +00:00
fast8.sh fast8 improvements 2019-01-22 14:36:23 -05:00
generate_driver_list.py Stop invoking Python 2 2020-04-24 09:23:52 +02:00
mypywrap.sh Add mypy tox env 2020-10-14 08:24:13 -04:00
test-setup.sh Make test-setup.sh compatible with mysql8 2020-06-22 14:27:34 -05:00