diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 036b53f2..22221622 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -9,5 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - - uses: pre-commit/action@v3.0.0 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - uses: pre-commit/action@v3.0.1 + diff --git a/gallery/streamlit_app.py b/gallery/streamlit_app.py index fe17d843..ca7aeeb5 100644 --- a/gallery/streamlit_app.py +++ b/gallery/streamlit_app.py @@ -14,7 +14,7 @@ @st.cache_resource def show_extras(): extra_names = [ - extra.name + extra.name for extra in pkgutil.iter_modules(streamlit_extras.__path__) if extra.ispkg ]