MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / major_minor_change

Function major_minor_change

tensorflow/tools/ci_build/update_version.py:224–230  ·  view source on GitHub ↗

Check if a major or minor change occurred.

(old_version, new_version)

Source from the content-addressed store, hash-verified

222
223
224def major_minor_change(old_version, new_version):
225 """Check if a major or minor change occurred."""
226 major_mismatch = old_version.major != new_version.major
227 minor_mismatch = old_version.minor != new_version.minor
228 if major_mismatch or minor_mismatch:
229 return True
230 return False
231
232
233def check_for_lingering_string(lingering_string):

Callers 1

check_for_old_versionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected