test_ok2/testing/example_scripts
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
..
acceptance pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
collect Add rudimentary mypy type checking 2019-07-09 12:12:07 -07:00
config/collect_pytest_prefix Add rudimentary mypy type checking 2019-07-09 12:12:07 -07:00
conftest_usageerror Add rudimentary mypy type checking 2019-07-09 12:12:07 -07:00
dataclasses pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
deprecated pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
fixtures Add rudimentary mypy type checking 2019-07-09 12:12:07 -07:00
issue88_initial_file_multinodes Add rudimentary mypy type checking 2019-07-09 12:12:07 -07:00
marks/marks_considered_keywords Add rudimentary mypy type checking 2019-07-09 12:12:07 -07:00
perf_examples/collect_stats pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
tmpdir pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
unittest pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
warnings pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
README.rst Small typo and grammar fix 2018-06-15 15:05:00 -03:00
issue_519.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00

README.rst

Example test scripts
=====================


The files in this folder are not direct tests, but rather example test suites that demonstrate certain issues/behaviours.

In the future we will move part of the content of the acceptance tests here in order to have directly testable code instead of writing out things and then running them in nested pytest sessions/subprocesses.

This will aid debugging and comprehension.