# Requirements to dev/test the source code
# - last checked/updated: 2026-04-09 (c.f. 0.55.8 / HA 2026.4.1)
# - HA core reqs: https://github.com/home-assistant/core/blob/dev/requirements.txt

# for using the ramses_rf library with CLI
  -r requirements.txt


# libraries required for development (lint/type/test)...
# - pip list | grep -E 'pre-commit|ruff|mypy|types-|voluptuous|pytest|hatch'

# used for development (linting)
  prek == 0.3.11                                 # latest, same as ramses_cc
  ruff >= 0.15.5                                 # HA uses 0.15.5 ! also in: pre-commit-config.yaml

# used for development (typing)
  mypy >= 1.20.2                                 # HA uses  1.19.0a4 !
  types-colorama >= 0.4.15.20260408
  types-PyYAML >= 6.0.12                         # HA uses 6.0.12.20250516
  types-pyserial
  voluptuous >= 0.15.2                           # HA uses 0.15.2

# used for testing
  pytest >= 9.0.3                                # HA uses 8.4.2
  pytest-asyncio >= 1.3.0                        # HA uses 1.2.0
  pytest-cov >= 7.0.0                            # HA uses 6.2.1, includes coverage.py as dep
  pytest-sugar >= 1.0.0                          # HA uses 1.0.0
  pytest-xdist >= 3.8.0                          # HA uses 3.8.0
  PyYAML                                         # required for tests/tests/test_vol_schema import
  syrupy >= 5.0.0                                # HA uses 5.0.0 - 07/02/2026 - 2026.2.1

# used for build/deploy
  hatch >= 1.16.5
  hatchling >= 1.29.0
