[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "evolutionapi"
version = "0.1.1"
description = "Client Python para a API Evolution"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
    {name = "Davidson Gomes", email = "contato@agenciadgcode.com"}
]
keywords = ["evolution", "api", "whatsapp", "client"]
classifiers = [
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
]

dependencies = [
    "requests>=2.25.1",
    "requests-toolbelt>=1.0.0",
    "python-socketio>=5.11.1",
]

[project.urls]
Homepage = "https://github.com/EvolutionAPI/evolution-client-python"
Repository = "https://github.com/EvolutionAPI/evolution-client-python"
Issues = "https://github.com/EvolutionAPI/evolution-client-python/issues"

[tool.hatch.build.targets.wheel]
packages = ["evolutionapi"]

[tool.ruff]
line-length = 100
target-version = "py38"

[tool.ruff.lint]
select = [
    "E",   # pycodestyle errors
    "W",   # pycodestyle warnings
    "F",   # pyflakes
    "I",   # isort
    "N",   # pep8-naming
    "UP",  # pyupgrade
    "B",   # flake8-bugbear
    "C4",  # flake8-comprehensions
    "SIM", # flake8-simplify
]
ignore = [
    "E501",  # line too long (handled by formatter)
]

[tool.ruff.lint.isort]
known-first-party = ["evolutionapi"]

[tool.ruff.format]
quote-style = "double"
indent-style = "space"

[dependency-groups]
dev = [
    "ruff>=0.14.7",
]
