nitpick.plugins package
Hook specifications used by Nitpick plugins.
Note
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.
Submodules
- nitpick.plugins.base module
NitpickPlugin
NitpickPlugin.enforce_rules()
NitpickPlugin.entry_point()
NitpickPlugin.filename
NitpickPlugin.fixable
NitpickPlugin.identify_tags
NitpickPlugin.initial_contents
NitpickPlugin.nitpick_file_dict
NitpickPlugin.post_init()
NitpickPlugin.predefined_special_config()
NitpickPlugin.skip_empty_suggestion
NitpickPlugin.validation_schema
NitpickPlugin.violation_base_code
NitpickPlugin.write_file()
NitpickPlugin.write_initial_contents()
- nitpick.plugins.info module
- nitpick.plugins.ini module
IniPlugin
IniPlugin.add_options_before_space()
IniPlugin.comma_separated_values
IniPlugin.compare_different_keys()
IniPlugin.contents_without_top_section()
IniPlugin.current_sections
IniPlugin.dirty
IniPlugin.enforce_comma_separated_values()
IniPlugin.enforce_missing_sections()
IniPlugin.enforce_rules()
IniPlugin.enforce_section()
IniPlugin.entry_point()
IniPlugin.expected_config
IniPlugin.expected_sections
IniPlugin.file_path
IniPlugin.filename
IniPlugin.fixable
IniPlugin.get_example_cfg()
IniPlugin.get_missing_output()
IniPlugin.identify_tags
IniPlugin.initial_contents
IniPlugin.missing_sections
IniPlugin.needs_top_section
IniPlugin.nitpick_file_dict
IniPlugin.post_init()
IniPlugin.predefined_special_config()
IniPlugin.show_missing_keys()
IniPlugin.skip_empty_suggestion
IniPlugin.updater
IniPlugin.validation_schema
IniPlugin.violation_base_code
IniPlugin.write_file()
IniPlugin.write_initial_contents()
Violations
can_handle()
plugin_class()
- nitpick.plugins.json module
JsonFileSchema
JsonFileSchema.Meta
JsonFileSchema.OPTIONS_CLASS
JsonFileSchema.TYPE_MAPPING
JsonFileSchema.dict_class
JsonFileSchema.dump()
JsonFileSchema.dumps()
JsonFileSchema.error_messages
JsonFileSchema.fields
JsonFileSchema.from_dict()
JsonFileSchema.get_attribute()
JsonFileSchema.handle_error()
JsonFileSchema.load()
JsonFileSchema.loads()
JsonFileSchema.on_bind_field()
JsonFileSchema.opts
JsonFileSchema.set_class
JsonFileSchema.validate()
JsonPlugin
JsonPlugin.dirty
JsonPlugin.enforce_rules()
JsonPlugin.entry_point()
JsonPlugin.expected_config
JsonPlugin.expected_dict_from_contains_json()
JsonPlugin.expected_dict_from_contains_keys()
JsonPlugin.file_path
JsonPlugin.filename
JsonPlugin.fixable
JsonPlugin.identify_tags
JsonPlugin.initial_contents
JsonPlugin.nitpick_file_dict
JsonPlugin.post_init()
JsonPlugin.predefined_special_config()
JsonPlugin.report()
JsonPlugin.skip_empty_suggestion
JsonPlugin.validation_schema
JsonPlugin.violation_base_code
JsonPlugin.write_file()
JsonPlugin.write_initial_contents()
can_handle()
plugin_class()
- nitpick.plugins.text module
TextItemSchema
TextItemSchema.Meta
TextItemSchema.OPTIONS_CLASS
TextItemSchema.TYPE_MAPPING
TextItemSchema.dict_class
TextItemSchema.dump()
TextItemSchema.dumps()
TextItemSchema.error_messages
TextItemSchema.fields
TextItemSchema.from_dict()
TextItemSchema.get_attribute()
TextItemSchema.handle_error()
TextItemSchema.load()
TextItemSchema.loads()
TextItemSchema.on_bind_field()
TextItemSchema.opts
TextItemSchema.set_class
TextItemSchema.validate()
TextPlugin
TextPlugin.dirty
TextPlugin.enforce_rules()
TextPlugin.entry_point()
TextPlugin.expected_config
TextPlugin.file_path
TextPlugin.filename
TextPlugin.fixable
TextPlugin.identify_tags
TextPlugin.initial_contents
TextPlugin.nitpick_file_dict
TextPlugin.post_init()
TextPlugin.predefined_special_config()
TextPlugin.skip_empty_suggestion
TextPlugin.validation_schema
TextPlugin.violation_base_code
TextPlugin.write_file()
TextPlugin.write_initial_contents()
TextSchema
TextSchema.Meta
TextSchema.OPTIONS_CLASS
TextSchema.TYPE_MAPPING
TextSchema.dict_class
TextSchema.dump()
TextSchema.dumps()
TextSchema.error_messages
TextSchema.fields
TextSchema.from_dict()
TextSchema.get_attribute()
TextSchema.handle_error()
TextSchema.load()
TextSchema.loads()
TextSchema.on_bind_field()
TextSchema.opts
TextSchema.set_class
TextSchema.validate()
Violations
can_handle()
plugin_class()
- nitpick.plugins.toml module
TomlPlugin
TomlPlugin.dirty
TomlPlugin.enforce_rules()
TomlPlugin.entry_point()
TomlPlugin.expected_config
TomlPlugin.file_path
TomlPlugin.filename
TomlPlugin.fixable
TomlPlugin.identify_tags
TomlPlugin.initial_contents
TomlPlugin.nitpick_file_dict
TomlPlugin.post_init()
TomlPlugin.predefined_special_config()
TomlPlugin.report()
TomlPlugin.skip_empty_suggestion
TomlPlugin.validation_schema
TomlPlugin.violation_base_code
TomlPlugin.write_file()
TomlPlugin.write_initial_contents()
can_handle()
plugin_class()
- nitpick.plugins.yaml module
YamlPlugin
YamlPlugin.dirty
YamlPlugin.enforce_rules()
YamlPlugin.entry_point()
YamlPlugin.expected_config
YamlPlugin.file_path
YamlPlugin.filename
YamlPlugin.fixable
YamlPlugin.identify_tags
YamlPlugin.initial_contents
YamlPlugin.nitpick_file_dict
YamlPlugin.post_init()
YamlPlugin.predefined_special_config()
YamlPlugin.report()
YamlPlugin.skip_empty_suggestion
YamlPlugin.validation_schema
YamlPlugin.violation_base_code
YamlPlugin.write_file()
YamlPlugin.write_initial_contents()
can_handle()
plugin_class()