[project]
name = "hubitatmaker"
description = "A library for interfacing with Hubitat via its Maker API"
dependencies = [ "aiohttp<4.0.0,>=3.6.2", "getmac<1.0.0,>=0.8.2",]
requires-python = ">=3.8,<4.0"
dynamic = []
keywords = [ "hubitat",]
classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.8", "Topic :: Home Automation", "Typing :: Typed",]
readme = "README.md"
version = "0.5.8"
[[project.authors]]
name = "Jason Cheatham"
email = "jason@jasoncheatham.com"

[build-system]
requires = [ "pdm-pep517",]
build-backend = "pdm.pep517.api"

[project.license]
text = "MIT"

[project.urls]
homepage = "https://github.com/jason0x43/hubitatmaker"

[tool.pdm]
includes = []

[tool.pyright]
include = [ "hubitatmaker",]
exclude = [ "**/__pycache__",]
extraPaths = [ "__pypackages__/3.8/lib",]
stubPath = "."

[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
indent = "    "
force_sort_within_sections = true
default_section = "THIRDPARTY"
known_first_party = "hubitatmaker,tests"
forced_separate = "tests"
combine_as_imports = true

[tool.pdm.version]
from = "hubitatmaker/__init__.py"

[tool.pdm.scripts]
publish = "python scripts/publish.py"

[tool.pdm.dev-dependencies]
dev = [ "flake8<4.0.0,>=3.8.3", "black<21.0,>=20.8b1", "pre-commit<3.0.0,>=2.7.1", "isort<6.0.0,>=5.5.2", "toml>=0.10.2", "pytest<7.0,>=6.0", "pytest-asyncio>=0.16.0", "twine>=3.7.1",]

[tool.pytest.ini_options]
testpaths = "hubitatmaker"
python_files = "test_*.py"

[tool.pdm.scripts.init]
shell = "pdm install && pre-commit install"

[tool.pdm.scripts.test]
shell = "pyright && pytest"
