nitpick.config module

Configuration of the plugin.

class nitpick.config.Config[source]

Bases: nitpick.mixin.NitpickMixin

Plugin configuration, read from the project config.

error_base_number = 200
error_prefix = ''
flake8_error(number: int, message: str, suggestion: str = None, add_to_base_number=True) → Tuple[int, int, str, Type]

Return a flake8 error as a tuple.

merge_styles() → Iterator[Tuple[int, int, str, Type]][source]

Merge one or multiple style files.


Validate the pyroject.toml’s [tool.nitpick] section against a Marshmallow schema.

warn_missing_different(comparison: nitpick.formats.Comparison, prefix_message: str = '')

Warn about missing and different keys.