nbproject.dev.set_version#

nbproject.dev.set_version(version=None, stored_version=None)#

(Auto-) set version.

If version is None, returns the stored version. Otherwise sets the version to the passed version.

Parameters:
  • version – Version string.

  • stored_version – Mock stored version for testing purposes.