test_ok1/testing/python
Ran Benita 89dfde9535 Add rudimentary mypy type checking
Add a very lax mypy configuration, add it to tox -e linting, and
fix/ignore the few errors that come up. The idea is to get it running
before diving in too much.

This enables:

- Progressively adding type annotations and enabling more strict
  options, which will improve the codebase (IMO).

- Annotating the public API in-line, and eventually exposing it to
  library users who use type checkers (with a py.typed file).

Though, none of this is done yet.

Refs https://github.com/pytest-dev/pytest/issues/3342.
2019-07-09 12:12:07 -07:00
..
approx.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
collect.py initial conversion of exit codes to enum 2019-06-15 06:48:00 +02:00
fixtures.py Deprecate funcargnames alias 2019-06-26 08:53:17 +10:00
integration.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
metafunc.py Deprecate funcargnames alias 2019-06-26 08:53:17 +10:00
raises.py Add rudimentary mypy type checking 2019-07-09 12:12:07 -07:00
setup_only.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
setup_plan.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
show_fixtures_per_test.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00