Calls to @takes_callable_and_args functions won't have the args type-checked without the plugin, but that's better than unconditionally failing.
In order to be more non-plugin-friendly, replace the trio_typing.ArgsForCallable marker type with mypy_extensions.VarArg().
Add tests for reasonable behavior when the plugin is absent.
Calls to
@takes_callable_and_args
functions won't have the args type-checked without the plugin, but that's better than unconditionally failing. In order to be more non-plugin-friendly, replace thetrio_typing.ArgsForCallable
marker type withmypy_extensions.VarArg()
. Add tests for reasonable behavior when the plugin is absent.