# format_dep_floor_warning

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/_dep_floor_check/format_dep_floor_warning)

Build the full advisory: one line per violation plus the refresh command.

## Signature

```python
format_dep_floor_warning(
    violations: list[_FloorViolation],
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `violations` | `list[_FloorViolation]` | Yes | The offending distributions. |

## Returns

`str`

Plain-text (no Rich markup) advisory listing each violation, then the

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/2069079e09546060f5b52b2cd4f0e3c813e820f3/libs/code/deepagents_code/_dep_floor_check.py#L482)