add_headers.py File Reference

Go to the source code of this file.

Namespaces

 add_headers
 

Functions

def add_headers.add_headers (directories, file_types, cchar="!", author="Rohit Goswami <rgoswami[at]ieee.org>", repository_url="https://github.com/HaoZeke/GaussJacobiQuad", library_name="GaussJacobiQuad", date=current_date, commit=commit_hash)
 

Variables

 add_headers.GITROOT = os.popen("git rev-parse --show-toplevel").read().strip()
 
 add_headers.current_date = datetime.now().strftime("%Y-%m-%d")
 
 add_headers.commit_hash = os.popen("git rev-parse HEAD").read().strip()[:7]
 
 add_headers.header_template
 
 add_headers.parser = argparse.ArgumentParser(description="Add headers to source files.")
 
 add_headers.type
 
 add_headers.str
 
 add_headers.required
 
 add_headers.True
 
 add_headers.nargs
 
 add_headers.help
 
 add_headers.args = parser.parse_args()
 
 add_headers.file_types = args.ftypes.split(",")