-
Notifications
You must be signed in to change notification settings - Fork 46
/
pyproject.toml
92 lines (83 loc) · 2.11 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
81
82
83
84
85
86
87
88
89
90
91
92
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ruff-lsp"
dynamic = ["version"]
description = "A Language Server Protocol implementation for Ruff."
authors = [
{ name = "Charlie Marsh", email = "[email protected]" },
]
maintainers = [
{ name = "Charlie Marsh", email = "[email protected]" },
]
requires-python = ">=3.7"
license = "MIT"
keywords = ["ruff", "lsp", "language-server", "language-server-protocol", "python"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
urls = { repository = "https://github.com/astral-sh/ruff-lsp" }
dependencies = [
"packaging>=23.1",
"pygls>=1.1.0",
"lsprotocol>=2023.0.0",
"ruff>=0.0.274",
"typing_extensions",
]
[project.optional-dependencies]
dev = [
"mypy==1.4.1",
"pip-tools>=6.13.0,<7.0.0",
"pytest>=7.3.1,<8.0.0",
"pytest-asyncio==0.21.2",
"python-lsp-jsonrpc==1.0.0",
]
[project.scripts]
ruff-lsp = "ruff_lsp.__main__:main"
[tool.hatch.version]
path = "ruff_lsp/__init__.py"
[tool.ruff]
line-length = 88
target-version = "py37"
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"Q",
"UP",
"I",
"N",
"T201",
"T203",
]
[tool.mypy]
files = ["ruff_lsp", "tests"]
no_implicit_optional = true
check_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--tb=short"
[[tool.mypy.overrides]]
module = [
"debugpy.*",
"lsprotocol.*",
"pygls.*",
"pylsp_jsonrpc.*",
]
ignore_missing_imports = true