- tests/test_catalog.py: 5 unit tests for PypiCatalog (fetch, cache, sort prefix, completions) - tests/test_proxy.py: 5 unit tests for BicepProxy (framing, injection, list result, passthrough) - tests/conftest.py: pytest asyncio_mode=auto config - scripts/smoke_test.sh: end-to-end TCP + health smoke test script - .gitea/workflows/ci.yml: split into test + build-and-deploy jobs (test blocks deploy) - runs-on: debian-host (was ubuntu-latest = broken) - test job installs deps + runs pytest before building image - pyproject.toml: [project.optional-dependencies] dev = pytest + pytest-asyncio
36 lines
719 B
TOML
36 lines
719 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.backends.legacy:build"
|
|
|
|
[project]
|
|
name = "ilsp"
|
|
version = "0.1.0"
|
|
description = "i80 LSP server — extends Python and Bicep LSPs with LRU/i80 knowledge"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"python-lsp-server[all]>=1.12",
|
|
"aiohttp>=3.9",
|
|
"lsprotocol>=2023.0",
|
|
"pygls>=1.3",
|
|
]
|
|
|
|
[project.entry-points."pylsp"]
|
|
ilsp = "ilsp.python_lsp.plugin"
|
|
|
|
[project.scripts]
|
|
ilsp = "ilsp.server:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["ilsp*"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.23",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|