Skip to content

Commit

Permalink
[Bot] pre-commit autoupdate (#912)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: huong-li-nguyen <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and huong-li-nguyen authored Dec 3, 2024
1 parent 3e22670 commit d10ccdb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ 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]
exclude: "vizro-core/examples/scratch_dev/app.py"
- 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]
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion vizro-ai/docs/pages/user-guides/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion vizro-core/docs/pages/user-guides/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion vizro-core/docs/pages/user-guides/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d10ccdb

Please sign in to comment.