pybuilder_header_plugin

PyBuilder Header Plugin


License
Apache-2.0
Install
pip install pybuilder_header_plugin==0.1.0

Documentation

Please visit https://github.com/cowst/pybuilder_header_plugin for the most recent version.

PyBuilder Header Plugin Build Status

Ensures that all your source files contain the same file header.

How to use pybuilder_header_plugin

Add plugin dependency to your build.py

use_plugin('pypi:pybuilder_header_plugin')

Configure the plugin within your init function:

@init
def init(project):
    project.set_property('pybuilder_header_plugin_break_build', True)
    project.set_property('pybuilder_header_plugin_expected_header', "# Copyright\n")

This will break the build if one of your source files does not start with the comment line # Copyright.