Do not complain .version file is invalid if it’s content is ignored.
Do not complain .version file is invalid if it’s content is ignored.

If version module managed to get git version of the package, there is no
need to warn about .version file having invalid contents, since it will
be overwritten anyawy.  This is especially confounding as the message
suggests the module ‘will use [the invalid version] anyway’ even though
it will do no such thing.  Warn conditionally only if version could not
be determined from git.

google/pygtrie,pombredanne/pygtrie