nitpick.exceptions module
Nitpick exceptions.
- class nitpick.exceptions.Deprecation[source]
Bases:
object
All deprecation messages in a single class.
When it’s time to break compatibility, remove a method/warning below, and older config files will trigger validation errors on Nitpick.
- static jsonfile_section(style_errors: dict[str, Any]) bool [source]
The [nitpick.JSONFile] is not needed anymore; JSON files are now detected by the extension.
- exception nitpick.exceptions.QuitComplainingError(violations: Fuss | list[Fuss])[source]
Bases:
Exception
Quit complaining and exit the application.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.