Add more consistency tests (#4983)

Follow up fo #4971

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
Ivan Levkivskyi
2021-01-29 17:23:35 +00:00
committed by GitHub
parent 569fcea637
commit e2fd852952
3 changed files with 127 additions and 4 deletions

View File

@@ -1,11 +0,0 @@
# click 7.0
`__init__.pyi` is almost a copy of `click/__init__.py`. It's a shortcut module
anyway in the actual sources so it works well with minimal changes.
The types are pretty complete but they were created mostly for public API use
so some internal modules (`_compat`) or functions (`core._bashcomplete`) are
deliberately missing. If you feel the need to add those, pull requests accepted.
Speaking of pull requests, it would be great if the option decorators informed
the type checker on what types the command callback should accept.