reuse.report module
Module that contains reports about files and projects for linting.
- class reuse.report.FileReport(name: PathLike, path: PathLike, do_checksum: bool = True)[source]
Bases:
object
Object that holds a linting report about a single file. Importantly, it also contains SPDX File information in
spdxfile
.
- class reuse.report.ProjectReport(do_checksum: bool = True)[source]
Bases:
object
Object that holds linting report about the project.
- property files_without_copyright: Iterable[PathLike]
Iterable of paths that have no copyright information.
- property files_without_licenses: Iterable[PathLike]
Iterable of paths that have no license information.
- classmethod generate(project: Project, do_checksum: bool = True, multiprocessing: bool = True) ProjectReport [source]
Generate a ProjectReport from a Project.