Skip to content

Commit

Permalink
Improve type annotation and drop Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Oct 23, 2024
1 parent ee86b7c commit 0d5c7dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
streamlit-version: [null]
include:
# Test with streamlit <1.4.0 and >=1.4.0. See https://github.com/whitphx/streamlit-server-state/issues/64
Expand Down
2 changes: 1 addition & 1 deletion app_chat_rooms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if "rooms" not in server_state:
server_state["rooms"] = []

rooms = server_state["rooms"]
rooms: list[str] = server_state["rooms"]

room = st.sidebar.radio("Select room", rooms)

Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[mypy]
python_version = 3.8
python_version = 3.9
ignore_missing_imports = True

0 comments on commit 0d5c7dc

Please sign in to comment.