-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
65 lines (61 loc) · 988 Bytes
/
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
[tool.mypy]
# ignore_missing_imports = False
check_untyped_defs = true
strict_optional = true
mypy_path = 'typings/lsp_utils/st3:typings/ST-API-stubs/typings:typings/sublime-markdown-popups/st3:typings:stubs'
python_version = '3.8'
[[tool.mypy.overrides]]
module = [
"LSP.*",
"lsp_utils.*",
"mdpopups.*",
"sublime_lib.*",
"typings.*",
]
ignore_errors = true
ignore_missing_imports = true
[tool.pyright]
include = ['./']
exclude = [
'**/__pycache__/',
'**/node_modules/',
# git-related
'**/.git/',
'**/br-*/',
'**/branch-*/',
]
ignore = [
'**/.venv',
'**/libs',
]
stubPath = 'typings'
pythonVersion = '3.8'
[tool.ruff]
preview = true
line-length = 120
target-version = 'py38'
exclude = [
"*/libs/*",
".git",
".mypy_cache",
".venv",
".venv-*",
"branch-*",
"stubs",
"tests/files",
"typings",
"vendor",
"venv",
"venv-*",
]
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"I",
"UP",
"FURB",
# "SIM",
]
ignore = ["E203"]