pbi-cli/pyproject.toml
MinaSaad1 e4fd958e13 feat: v2.1.0 - improve Claude skill triggering and CLAUDE.md auto-injection
- Update all 7 skill descriptions to be pushy with explicit trigger phrases
- Add DAX expression limitations section to power-bi-dax skill (VAR/RETURN workarounds)
- Add date/calendar table creation section to power-bi-modeling skill
- Add quick troubleshooting section to power-bi-diagnostics skill
- Auto-inject pbi-cli section into ~/.claude/CLAUDE.md on `pbi connect`
- Auto-remove pbi-cli section on `pbi skills uninstall`
- Extract claude_integration.py module to avoid circular imports
- Add 7 unit tests for CLAUDE.md snippet lifecycle
2026-03-27 12:00:41 +02:00

89 lines
2.3 KiB
TOML

[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pbi-cli-tool"
version = "2.1.0"
description = "CLI for Power BI semantic models - direct .NET connection for token-efficient AI agent usage"
readme = "README.pypi.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "pbi-cli contributors"},
]
keywords = ["power-bi", "cli", "semantic-model", "dax", "claude-code", "tom"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"click>=8.0.0",
"rich>=13.0.0",
"prompt-toolkit>=3.0.0",
"pythonnet==3.1.0rc0",
"clr-loader>=0.2.6",
]
[project.scripts]
pbi = "pbi_cli.main:cli"
[project.urls]
Homepage = "https://github.com/MinaSaad1/pbi-cli"
Repository = "https://github.com/MinaSaad1/pbi-cli"
Issues = "https://github.com/MinaSaad1/pbi-cli/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.4.0",
"mypy>=1.10",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"pbi_cli.skills" = ["**/*.md"]
"pbi_cli.dlls" = ["*.dll"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.ruff.lint.per-file-ignores]
# .NET interop code uses CamelCase names to match the .NET API surface
"src/pbi_cli/core/adomd_backend.py" = ["N806"]
"src/pbi_cli/core/session.py" = ["N806"]
"src/pbi_cli/core/tom_backend.py" = ["N806", "N814"]
"src/pbi_cli/core/dotnet_loader.py" = ["N806", "N814"]
# Mock objects mirror .NET CamelCase API
"tests/conftest.py" = ["N802", "N806"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"e2e: end-to-end tests requiring running Power BI Desktop",
]
[tool.mypy]
python_version = "3.10"
strict = true
[[tool.mypy.overrides]]
module = ["pythonnet", "clr", "clr_loader"]
ignore_missing_imports = true