TOML · 1581 bytes Raw Blame History
1 [build-system]
2 requires = ["hatchling"]
3 build-backend = "hatchling.build"
4
5 [project]
6 name = "dlm-lsp"
7 version = "0.1.1"
8 description = "Language Server Protocol backend for .dlm files"
9 readme = "README.md"
10 requires-python = ">=3.11"
11 license = "MIT"
12 authors = [{ name = "mfwolffe", email = "mfwolffe@outlook.com" }]
13 keywords = ["lsp", "language-server", "dlm", "llm", "fine-tuning"]
14 classifiers = [
15 "Development Status :: 3 - Alpha",
16 "License :: OSI Approved :: MIT License",
17 "Programming Language :: Python :: 3",
18 "Programming Language :: Python :: 3.11",
19 "Topic :: Text Editors :: Integrated Development Environments (IDE)",
20 ]
21 dependencies = [
22 "document-language-model",
23 "pygls>=1.3",
24 "lsprotocol>=2024.0",
25 ]
26
27 [tool.uv.sources]
28 document-language-model = { path = "../..", editable = true }
29
30 [project.urls]
31 Homepage = "https://github.com/tenseleyFlow/dlm-lsp"
32 Issues = "https://github.com/tenseleyFlow/dlm-lsp/issues"
33
34 [project.scripts]
35 dlm-lsp = "dlm_lsp.server:main"
36
37 [tool.hatch.build.targets.wheel]
38 packages = ["src/dlm_lsp"]
39
40 [tool.pytest.ini_options]
41 testpaths = ["tests"]
42
43 [tool.ruff]
44 line-length = 100
45 target-version = "py311"
46
47 [tool.ruff.lint]
48 select = ["E", "F", "W", "I", "UP", "B", "N", "C4", "SIM", "PT", "RET", "PTH", "TID"]
49
50 [tool.ruff.lint.per-file-ignores]
51 "src/dlm_lsp/server.py" = ["ARG001"]
52
53 [tool.mypy]
54 python_version = "3.11"
55 strict = true
56 warn_return_any = true
57 warn_unused_configs = true
58 ignore_missing_imports = true
59
60 [dependency-groups]
61 dev = [
62 "pytest>=8.0",
63 "pytest-cov>=5.0",
64 "mypy>=1.11",
65 "ruff>=0.6",
66 ]