ament_copyright.main module

ament_copyright.main.add_header(file_descriptor, header)

Add the copyright / license message to a file.

The copyright / license is placed below an optional shebang line as well as an optional coding line. It is preceded by an empty line if not at the beginning of the file and always followed by an empty line.

ament_copyright.main.add_missing_header(file_descriptors, name, license_, verbose)
ament_copyright.main.get_comment(filename, msg)
ament_copyright.main.get_string_from_years(years)
ament_copyright.main.get_xunit_content(report, testname, elapsed)
ament_copyright.main.get_years_from_string(content)
ament_copyright.main.main(argv=['-c', '.', 'default_sphinx_project', '/tmp/ws/docs_build/ament_copyright/ament_copyright/sphinx_output'])