license-header-check

A python license header checker.


Keywords
license, header
License
MIT
Install
pip install license-header-check==0.1.3

Documentation

license-header-check

license-header-check is a tool to test if all modules in a python package have a certain license header.

Install

pip install license-header-check

Usage

You have to provide two arguments:

  • license_file: A file with the license header as its only content.
  • package_name: The name of the package that should be checked.

Optional:

  • --ignore: A path in the package that should be ignored.

Example

license-header-check LICENSE my_package
license-header-check LICENSE my_package --ignore my_package.my_subpackage