text_lint.linter.settings.LinterSettings

class text_lint.linter.settings.LinterSettings(file_path: str, interpolate_schema: bool, quiet: bool, schema_path: str)[source]

Bases: object

Linter settings.

__init__(file_path: str, interpolate_schema: bool, quiet: bool, schema_path: str) None[source]

Initialize LinterSettings instances.

Parameters:
  • file_path (str) – The absolute path to the file being linted.

  • interpolate_schema (bool) – Controls schema variable interpolation.

  • quiet (bool) – Controls linter verbosity.

  • schema_path (str) – The absolute path to the schema file.