[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "mcp-facture-electronique-fr" version = "0.9.1" description = "MCP server exposing the AFNOR XP Z12-013 APIs for French electronic invoicing (Compatible Solution), vendor-neutral PDP transport" readme = "README.md" requires-python = ">=3.11" license = { text = "Apache-2.0" } authors = [{ name = "Christophe Méndez" }] keywords = ["mcp", "facturation-electronique", "xp-z12-013", "ppf", "pa", "b2b"] classifiers = [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] dependencies = [ "mcp-einvoicing-core>=1.34.1,<2.0.0", "fastmcp>=2.0.0", "python-dotenv>=1.0.0", ] [project.optional-dependencies] xslt2 = ["mcp-einvoicing-core[xslt2]>=1.15.0"] dev = [ "pytest>=8.0.0", "pytest-asyncio>=0.23.0", "pytest-cov>=5.0.0", "pytest-httpx>=0.30.0", "respx>=0.21.0", "ruff>=0.4.0,<0.16.0", "mypy>=1.10.0", "pre-commit>=4.5.1", "saxonche>=12.4.0", ] [project.scripts] mcp-facture-electronique-fr = "mcp_facture_electronique_fr.server:main" [tool.hatch.build.targets.wheel] packages = ["src/mcp_facture_electronique_fr"] [tool.hatch.build.targets.sdist] exclude = [ "specs/", "tests/", ".env*", ".DS_Store", ] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"] addopts = "--cov=mcp_facture_electronique_fr --cov-report=term-missing" [tool.coverage.run] source = ["mcp_facture_electronique_fr"] omit = ["tests/*"] [tool.mypy] python_version = "3.11" strict = true plugins = ["pydantic.mypy"] [tool.ruff] line-length = 100 target-version = "py311" [tool.ruff.lint] select = ["E", "F", "I", "N", "W", "UP"] ignore = ["N999", "E501"]