diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 386ccc6a3..6fc461d5c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,7 +44,7 @@ repos: args: [--autofix] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.2 + rev: v0.8.1 hooks: - id: ruff args: [--fix] @@ -52,7 +52,7 @@ repos: - id: ruff-format - repo: https://github.com/PyCQA/bandit - rev: 1.7.10 + rev: 1.8.0 hooks: - id: bandit args: [-c, pyproject.toml, -ll] @@ -84,7 +84,7 @@ repos: args: ["--fix"] - repo: https://github.com/errata-ai/vale - rev: v3.8.0 + rev: v3.9.1 hooks: - id: vale args: [--config=.vale/.vale.ini] diff --git a/vizro-ai/docs/pages/user-guides/install.md b/vizro-ai/docs/pages/user-guides/install.md index 9ecee589f..3b6a6193d 100644 --- a/vizro-ai/docs/pages/user-guides/install.md +++ b/vizro-ai/docs/pages/user-guides/install.md @@ -66,7 +66,7 @@ Vizro-AI supports **any** model that is available via [Langchain's `BaseChatMode ### Set up access to OpenAI (as an example for any vendor) To use OpenAI with Vizro-AI you need an API key, which you can get by [creating an OpenAI account if you don't already have one](https://platform.openai.com/account/api-keys). -We recommend that you consult the [third-party API key section of the disclaimer documentation](../explanation/disclaimer.md) documentation. +We recommend that you consult the [third-party API key section of the disclaimer documentation](../explanation/disclaimer.md). There are two common ways to set up the API key in a development environment. diff --git a/vizro-core/docs/pages/user-guides/data.md b/vizro-core/docs/pages/user-guides/data.md index 8d1a2047a..51bf84b97 100644 --- a/vizro-core/docs/pages/user-guides/data.md +++ b/vizro-core/docs/pages/user-guides/data.md @@ -411,7 +411,7 @@ When Vizro initially builds a filter that depends on parametrized dynamic data l * perform initial validation * check which data sources contain the specified `column` (unless `targets` is explicitly specified) and -* determine the type of selector to use (unless `selector` is explicitly specified). +* find the type of selector to use (unless `selector` is explicitly specified). !!! note diff --git a/vizro-core/docs/pages/user-guides/filters.md b/vizro-core/docs/pages/user-guides/filters.md index db9aa312e..bc3649178 100644 --- a/vizro-core/docs/pages/user-guides/filters.md +++ b/vizro-core/docs/pages/user-guides/filters.md @@ -14,7 +14,7 @@ To add a filter to your page, do the following: 1. add the [`Filter`][vizro.models.Filter] model into the `controls` argument of the [`Page`][vizro.models.Page] model 2. configure the `column` argument, which denotes the target column to be filtered -You can also set `targets` to specify which components on the page should be affected by the filter. If this is not explicitly set then `targets` defaults to all components on the page whose data source includes `column`. +You can also set `targets` to specify which components on the page the filter should apply to. If this is not explicitly set then `targets` defaults to all components on the page whose data source includes `column`. !!! example "Basic Filter" === "app.py"