mafw.scripts.update_notice

Module provides a simplified script to perform an update of the version number hard coded in the NOTICE.txt file. It is meant to be used as a pre-commit hook.

Maybe one day it will be detached from MAFw to become a real hook on its own.

Functions

main()

Script entry point

update_notice_version()

Perform the update of the version number in the NOTICE.txt file

mafw.scripts.update_notice.main() None[source]

Script entry point

mafw.scripts.update_notice.update_notice_version() None[source]

Perform the update of the version number in the NOTICE.txt file

Raises:

RuntimeError – if the target NOTICE.txt file is not found