{
  "$schema": "http://json-schema.org/schema",
  "title": "Ruff Check executor",
  "description": "Run ruff check on the given folders/files, this executor forwards all arguments to ruff check, see https://docs.astral.sh/ruff/linter/#ruff-check for more details.",
  "type": "object",
  "properties": {
    "lintFilePatterns": {
      "type": "array",
      "description": "File patterns to check (relative path to the project root)",
      "items": {
        "type": "string"
      }
    },
    "fix": {
      "type": "boolean",
      "description": "Fixes linting errors (may overwrite linted files).",
      "default": false,
      "x-priority": "important"
    },
    "exitZero": {
      "type": "boolean",
      "description": "Exit with status code 0 even if there are lint violations.",
      "default": false
    },
    "installDependenciesIfNotExists": {
      "type": "boolean",
      "description": "Run the package manager install command if the virtual environment is not activated (default: false)",
      "default": false
    },
    "__unparsed__": {
      "hidden": true,
      "type": "array",
      "items": {
        "type": "string"
      },
      "$default": {
        "$source": "unparsed"
      },
      "x-priority": "internal"
    }
  },
  "required": ["lintFilePatterns"]
}
