-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
59 lines (54 loc) · 881 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
[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 = ["plugin._vendor.*"]
ignore_errors = true
ignore_missing_imports = true
[tool.pyright]
include = ['./']
exclude = [
'**/__pycache__/',
'**/node_modules/',
# git-related
'**/.git/',
'**/br-*/',
'**/branch-*/',
]
ignore = ['**/.venv', '**/_vendor']
stubPath = 'typings'
pythonVersion = '3.8'
[tool.ruff]
preview = true
line-length = 120
target-version = 'py38'
exclude = [
"*/libs/*",
".git",
".mypy_cache",
".venv",
".venv-*",
"_vendor",
"branch-*",
"stubs",
"tests/files",
"typings",
"venv",
"venv-*",
]
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"I",
"UP",
"FURB",
"SIM",
]
ignore = ["E203"]
[tool.ruff.lint.per-file-ignores]
"boot.py" = ["E402"]