test_ok2/src/_pytest/assertion
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
..
__init__.py Fix default value of 'enable_assertion_pass_hook' 2019-06-26 17:54:24 -03:00
rewrite.py Add rudimentary mypy type checking 2019-07-09 12:12:07 -07:00
truncate.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
util.py Merge remote-tracking branch 'upstream/master' into features-assertion-pass-hook-master 2019-06-26 18:12:56 +02:00