-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
72 lines (63 loc) · 1.17 KB
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
[project]
name = "LSP-html"
version = "0.0.0"
description = "HTML support for Sublime's LSP plugin"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"typing-extensions>=4.11",
]
[dependency-groups]
dev = [
"mypy>=1.14",
"ruff>=0.13",
"types-jmespath",
]
[tool.uv]
default-groups = ["dev"]
[tool.mypy]
# ignore_missing_imports = False
check_untyped_defs = true
strict_optional = true
mypy_path = 'typings:stubs'
python_version = '3.8'
[[tool.mypy.overrides]]
module = [
"LSP.*",
"lsp_utils.*",
"sublime_lib.*",
"typings.*",
]
ignore_errors = true
ignore_missing_imports = true
[tool.pyright]
pythonVersion = '3.8'
[tool.ruff]
preview = true
line-length = 120
target-version = 'py38'
exclude = [
"*/libs/*",
".git",
".mypy_cache",
".venv",
".venv-*",
"branch-*",
"scripts/module_scraper",
"stubs",
"tests/files",
"typings",
"vendor",
"venv",
"venv-*",
]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
ignore = ["E203"]
[tool.ruff.lint.per-file-ignores]
"boot.py" = ["E402"]
[tool.ruff.lint.isort]
case-sensitive = true
combine-as-imports = true
order-by-type = false
required-imports = ["from __future__ import annotations"]