Re-enables flake8 testing for the tests directory via setup.cfg.
Adds at least minimal docstrings to all of the existing tests, adding more detailed docstrings where needed.
Tidies up a few other flake8 issues such as overlong lines.
Fixes some minor typing issues within the tests.
The setup.cfg currently turns off some mypy checking in tests through a [mypy-tests.*] section, notably allowing untyped_calls, untyped_defs and incomplete_defs. I have kept this setting - typing all of the test signatures doesn't seem a priority.
This PR:
flake8
testing for thetests
directory viasetup.cfg
.flake8
issues such as overlong lines.The
setup.cfg
currently turns off somemypy
checking intests
through a[mypy-tests.*]
section, notably allowinguntyped_calls
,untyped_defs
andincomplete_defs
. I have kept this setting - typing all of the test signatures doesn't seem a priority.Closes #63