Functions | |
def | parse_args (parser) |
def | update (filename, args) |
def | copyright_scan (directory, depth, args, exclude_dirs=[]) |
def | main () |
Variables | |
string | copyright_year = "2020" |
tuple | extensions_p = (".py", ".sh", ".cmake", "CMakeLists") |
tuple | extensions_c = (".c", ".cpp", ".h", ".hpp", ".cu") |
string | pattern_p |
string | header_p |
string | pattern_c |
string | header_c |
def copyright-scan.parse_args | ( | parser | ) |
Parse commandline arguments.
def copyright-scan.update | ( | filename, | |
args | |||
) |
Update copyright header for specified file
def copyright-scan.copyright_scan | ( | directory, | |
depth, | |||
args, | |||
exclude_dirs = [] |
|||
) |
Update copyright for TensorRT sources
def copyright-scan.main | ( | ) |
string copyright-scan.copyright_year = "2020" |
tuple copyright-scan.extensions_p = (".py", ".sh", ".cmake", "CMakeLists") |
tuple copyright-scan.extensions_c = (".c", ".cpp", ".h", ".hpp", ".cu") |
string copyright-scan.pattern_p |
string copyright-scan.header_p |
string copyright-scan.pattern_c |
string copyright-scan.header_c |