[project] name = "tuya-re" version = "0.1.0" description = "Local control of Tuya devices (BLE Fingerbots, LAN switches, BLE IR blasters, gateway sub-devices), no cloud" requires-python = ">=3.11" dependencies = [ "bleak>=0.22", "pycryptodome>=3.20", "tinytuya>=1.18.0", ] [project.scripts] tuya-re = "tuya_re.cli:main" fingerbot = "tuya_re.cli:ble_main" switch = "tuya_re.cli:switch_main" ir = "tuya_re.cli:ir_main" [dependency-groups] dev = [ "pytest>=8", "pytest-asyncio>=0.24", "pytest-cov>=5", "ruff>=0.9", ] [tool.pytest.ini_options] asyncio_mode = "auto" [tool.coverage.run] source = ["src/tuya_re"] # Hardware/network/CLI boundary modules are exercised by live tests, not units. omit = [ "src/tuya_re/ble.py", "src/tuya_re/lan_discovery.py", "src/tuya_re/cli.py", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build"