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.
52 lines
602 B
Plaintext
52 lines
602 B
Plaintext
# Automatically generated by `hgimportsvn`
|
|
.svn
|
|
.hgsvn
|
|
|
|
# Ignore local virtualenvs
|
|
lib/
|
|
bin/
|
|
include/
|
|
.Python/
|
|
|
|
# These lines are suggested according to the svn:ignore property
|
|
# Feel free to enable them by uncommenting them
|
|
*.pyc
|
|
*.pyo
|
|
*.swp
|
|
*.class
|
|
*.orig
|
|
*~
|
|
.hypothesis/
|
|
|
|
# autogenerated
|
|
src/_pytest/_version.py
|
|
# setuptools
|
|
.eggs/
|
|
|
|
doc/*/_build
|
|
doc/*/.doctrees
|
|
build/
|
|
dist/
|
|
*.egg-info
|
|
issue/
|
|
env/
|
|
.env/
|
|
3rdparty/
|
|
.tox
|
|
.cache
|
|
.pytest_cache
|
|
.mypy_cache
|
|
.coverage
|
|
.coverage.*
|
|
coverage.xml
|
|
.ropeproject
|
|
.idea
|
|
.hypothesis
|
|
.pydevproject
|
|
.project
|
|
.settings
|
|
.vscode
|
|
|
|
# generated by pip
|
|
pip-wheel-metadata/
|