Hook specifications used by Nitpick plugins.
The hook specifications and the plugin classes are still experimental and considered as an internal API. They might change at any time; use at your own risk.
handle_config_file(config: Dict[str, Any], file_name: str, tags: Set[str]) → Optional[NitpickPlugin]¶
You should return a valid
A plugin instance if your plugin handles this file name or any of its
Noneif your plugin doesn’t handle this file or file type.
plugin_class() → Type[NitpickPlugin]¶
You should return your plugin class here.