Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .toolchain/python/ruff/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# =============

# Target the latest Python version we support across all projects
target-version = "py312"
target-version = "py314"

# 120 characters is a reasonable limit for modern displays while still
# encouraging concise code. This aligns with many Python projects.
Expand Down
2 changes: 1 addition & 1 deletion .toolchain/python/ty/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# team discussions about type safety standards.

[environment]
python-version = "3.13"
python-version = "3.14"
python-platform = "all"
python = "./.venv"

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.13.9-alpine@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1 AS builder
FROM python:3.14.0-alpine@sha256:8373231e1e906ddfb457748bfc032c4c06ada8c759b7b62d9c73ec2a3c56e710 AS builder

COPY --from=node:25.1.0-alpine@sha256:7e467cc5aa91c87e94f93c4608cf234ca24aac3ec941f7f3db207367ccccdd11 /usr/local/bin/node /usr/local/bin/node
RUN apk add --no-cache curl bash ca-certificates git npm
Expand All @@ -25,7 +25,7 @@ COPY pyproject.toml uv.lock ./
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --no-dev

FROM python:3.13.9-alpine@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1
FROM python:3.14.0-alpine@sha256:8373231e1e906ddfb457748bfc032c4c06ada8c759b7b62d9c73ec2a3c56e710

COPY --from=node:25.1.0-alpine@sha256:7e467cc5aa91c87e94f93c4608cf234ca24aac3ec941f7f3db207367ccccdd11 /usr/local/bin/node /usr/local/bin/node
RUN apk add --no-cache curl bash ca-certificates npm
Expand Down
5 changes: 4 additions & 1 deletion core/main.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import asyncio
from datetime import UTC, datetime, timedelta
import os
from typing import TYPE_CHECKING

from aiohttp import ClientSession
from pylitterbot import FeederRobot, LitterRobot4
from pylitterbot.account import Account
from roborock import HomeDataDevice, HomeDataScene
from roborock.web_api import RoborockApiClient, UserWebApiClient

if TYPE_CHECKING:
from roborock import HomeDataDevice, HomeDataScene

WHISKER_USERNAME = os.getenv("WHISKER_USERNAME", "")
WHISKER_PASSWORD = os.getenv("WHISKER_PASSWORD", "")
ROBOROCK_USERNAME = os.getenv("ROBOROCK_USERNAME", "")
Expand Down
2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"npm:@infisical/cli" = "0.43.21"
dprint = "0.50.2"
"cargo:taplo-cli" = "0.10.0"
python = "3.13.9"
python = "3.14.0"
uv = "0.9.7"
node = "25.1.0"

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
version = "0.1.0"
description = "Home automation"
readme = "README.md"
requires-python = ">=3.13"
requires-python = ">=3.14"
dependencies = [
"pylitterbot==2024.2.7",
"python-roborock==3.7.0",
Expand Down
241 changes: 1 addition & 240 deletions uv.lock

Large diffs are not rendered by default.

Loading