-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (63 loc) · 1.68 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = [ "hatchling",]
build-backend = "hatchling.build"
[project]
name = "spinasm-lsp"
dynamic = [ "version",]
description = "A Language Server Protocol implementation for SPINAsm"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["spinasm", "lsp"]
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
]
dependencies = [
"pygls",
"lsprotocol",
"asfv1==1.2.7",
]
[[project.authors]]
name = "Aaron Zuspan"
[project.license]
file = "LICENSE"
[project.urls]
Homepage = "https://github.com/aazuspan/spinasm-lsp"
[project.scripts]
spinasm-lsp = "spinasm_lsp.server:start"
[tool.ruff]
fix = true
show-fixes = true
[tool.hatch.version]
path = "src/spinasm_lsp/__init__.py"
[tool.ruff.lint]
select = [ "E", "I", "F", "B", "FA", "UP", "PT", "Q", "RET", "SIM", "PERF", "ERA"]
[tool.hatch.envs.default]
dependencies = [ "pre-commit",]
[tool.hatch.envs.test]
dependencies = [
"pytest",
"pytest-cov",
"mistletoe",
"pytest-lsp",
"pytest-regressions",
"jsonpickle"
]
[tool.hatch.envs.test_matrix]
template = "test"
[[tool.hatch.envs.test_matrix.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
[tool.ruff.lint.isort]
known-first-party = [ "spinasm_lsp",]
[tool.hatch.build.targets.wheel]
packages = [ "src/spinasm_lsp",]
[tool.hatch.build.targets.sdist]
include = [ "/src",]
[tool.hatch.envs.test.scripts]
all = "pytest . {args}"
cov = "pytest . --cov=src/spinasm_lsp {args}"