Yelp / bravado

Bravado is a python client library for Swagger 2.0 services
Other
604 stars 117 forks source link

Fix issues with some pre-commit hooks, run mypy as part of tests #408

Closed sjaensch closed 5 years ago

sjaensch commented 5 years ago

We've run into another issue internally where we wouldn't use the latest flake8. Let's use flake8 from pre-commit hooks only, and let's pin the version we use (and also pin the autopep8 version too). There's also an optimization in there for creating the pre-commit tox environment faster.

We were also not running mypy locally when executing tests.