diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..e0df97e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,35 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "arista-evpn-vxlan-infrahub-client" +version = "0.1.0" +description = "Infrahub client for Arista EVPN-VXLAN fabric intent" +readme = "README.md" +requires-python = ">=3.12" +dependencies = [ + "infrahub-sdk>=0.16.0", + "pydantic>=2.0", +] + +[project.optional-dependencies] +dev = [ + "pytest", + "pytest-asyncio", + "ruff", +] + +[tool.hatch.build.targets.wheel] +packages = ["src/infrahub_client"] + +[tool.ruff] +line-length = 100 +target-version = "py312" + +[tool.ruff.lint] +select = ["E", "F", "I", "W"] + +[tool.pytest.ini_options] +asyncio_mode = "auto" +testpaths = ["tests"]