Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ dev = [
"Homepage" = "https://github.com/arnaudmiribel/streamlit-extras"
"Bug Tracker" = "https://github.com/arnaudmiribel/streamlit-extras/issues"

[project.optional-dependencies]
anywidget = [
"anywidget >= 0.9.0",
"traitlets >= 5.0.0",
]

# =============================================================================
# Ruff configuration (linting + formatting)
Expand Down Expand Up @@ -118,7 +123,7 @@ ignore = [
"tests/**" = ["ANN", "ARG", "D", "INP", "N", "PERF", "S", "TRY"]
"gallery/**" = ["INP001", "PERF203"] # Gallery is an app, not a package
"docs/**" = ["INP001", "T201", "RUF001"] # Docs scripts
"**/__init__.py" = ["F401"] # Allow re-exports
"**/__init__.py" = ["F401", "DOC201", "DOC501"] # Allow re-exports, skip docstring return/raises for internal funcs
"scripts/hatch_build.py" = ["INP001", "S404", "S603", "S607", "DOC201", "DOC501"] # Build script needs subprocess

[tool.ruff.lint.isort]
Expand Down
1 change: 1 addition & 0 deletions src/streamlit_extras/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Use this guide to select the appropriate implementation approach:
| Extra | Description | Component Type |
|-------|-------------|----------------|
| `add_vertical_space` | Add vertical spacing to your app | pure python |
| `anywidget` | Render anywidget-compatible widgets with full bidirectional interactivity | components v2: inline |
| `app_logo` | Add a logo on top of the navigation bar | st.html |
| `avatar` | Display a circular avatar image with optional label and caption | components v2: inline |
| `badges` | Create custom badges (PyPI, GitHub, etc.) | st.html |
Expand Down
Loading
Loading