summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSeth Morton <seth.m.morton@gmail.com>2022-09-01 13:12:30 -0700
committerSeth Morton <seth.m.morton@gmail.com>2022-09-01 13:59:30 -0700
commit22cdc562baf60389a5f64a0ce241caf34d09abea (patch)
treed123aeaabb2e269028c558576d4e8a9aa126ed3f /tox.ini
parente5d2e4507728e53d1867ac87e169fca1d251d8cf (diff)
downloadnatsort-22cdc562baf60389a5f64a0ce241caf34d09abea.tar.gz
Simplify type hints for public functions
...and to some degree private as well. Previously, the declared hints for natsort were too restrictive. Generics and protocols are now utilized to make the type hints more "open" which is more realistic, since more than just basic types can be sorted.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 74a7066..19ab53d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -60,6 +60,7 @@ deps =
pytest
pytest-mock
fastnumbers
+ typing_extensions
commands =
mypy --strict natsort tests
skip_install = true