nitpick.plugins.info module

Info needed by the plugins.

class nitpick.plugins.info.FileInfo(project: nitpick.project.Project, path_from_root: str, tags: Set[str] = <factory>)[source]

Bases: object

File information needed by the plugin.

classmethod create(project: nitpick.project.Project, path_from_root: str) nitpick.plugins.info.FileInfo[source]

Clean the file name and get its tags.

path_from_root: str
project: nitpick.project.Project
tags: Set[str]