diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2022-09-01 13:12:30 -0700 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2022-09-01 13:59:30 -0700 |
commit | 22cdc562baf60389a5f64a0ce241caf34d09abea (patch) | |
tree | d123aeaabb2e269028c558576d4e8a9aa126ed3f /tox.ini | |
parent | e5d2e4507728e53d1867ac87e169fca1d251d8cf (diff) | |
download | natsort-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.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -60,6 +60,7 @@ deps = pytest pytest-mock fastnumbers + typing_extensions commands = mypy --strict natsort tests skip_install = true |