summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorpgjones <philip.graham.jones@googlemail.com>2023-02-26 11:17:50 +0000
committerPhil Jones <philip.graham.jones@googlemail.com>2023-04-02 14:58:03 +0100
commitfae6164cda6c5e9af89895a22f700402fa4b5ec5 (patch)
treea82ad0c87c84c6c43955c6908f58bfd8c232f453 /tox.ini
parent5ed9c956aaf68a8e2defa9722109aa2c7bcf7ae1 (diff)
downloadblinker-fae6164cda6c5e9af89895a22f700402fa4b5ec5.tar.gz
Add an initial set of type hints
These focus on the public API with the private aspect omitted. This is because these are hard to type, and may not be required with modern python. However, this should still be useful if adopted for code that uses blinker.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 5149f37..75f9933 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,6 +4,7 @@ envlist =
pypy3{9,8,7}
docs
lint
+ typing
skip_missing_interpreters = true
[testenv]
@@ -20,3 +21,7 @@ deps =
pre-commit>=2.20
commands =
pre-commit run --all-files --show-diff-on-failure {tty:--color=always} {posargs}
+
+[testenv:typing]
+deps = -r requirements/typing.txt
+commands = mypy