commitizen can be used to check that commits follow a pattern in order to effectively use (python) semantic release.