Closed posita closed 4 years ago
One tangential observation: It's confusing (from both a user and developer standpoint) that there's a distinction between self.name
and self.command
. The contexts in which each applies isn't intuitive. I'm wondering if both are needed?
One tangential observation: It's confusing (from both a user and developer standpoint) that there's a distinction between
self.name
andself.command
. The contexts in which each applies isn't intuitive. I'm wondering if both are needed?
So this is mostly for mypy -- the executable for both python2 and py3 is mypy
, so I wanted a way to distinguish which version was failing, while still running the same underlying command. I agree that this is confusing and I'm not thrilled with it, but I like the functionality it provides, so... Definitely willing to listen to suggestions for improvements, though!
No longer fail when
self.command
cannot be found if it won't actually be used.This assumes that if
{}_command
is provided, it points to something executable. One oddity here is that if it does not, there isn't a useful error message printed anywhere that I can find. That may be okay.Fixes #53. Obsoletes #54.