forked from Fanhuaji/Sublime-Fanhuaji
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (60 loc) · 894 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
[tool.mypy]
# ignore_missing_imports = False
check_untyped_defs = true
strict_optional = true
mypy_path = 'typings:stubs'
[[tool.mypy.overrides]]
module = [
".vendor.*",
]
ignore_errors = true
ignore_missing_imports = true
[tool.isort]
line_length = 120
profile = 'black'
py_version=38
skip_glob = [
".venv/**",
"br-*/**",
"branch-*/**",
"libs/**",
"plugin/libs/**",
"stubs/**",
"typings/**",
"vendor/**",
"venv/**",
]
[tool.black]
line-length = 120
target-version = ['py38']
exclude = '''
/(
\.git
| \.?venv
| \.mypy_cache
| br-.*
| branch-.*
| libs
| stubs
| tests/files
| typings
| vendor
)/
'''
[tool.pyright]
include = ['./']
exclude = [
'**/__pycache__/',
'**/node_modules/',
# git-related
'**/.git/',
'**/br-*/',
'**/branch-*/',
]
ignore = [
'**/.venv',
'**/libs',
'**/vendor',
]
stubPath = 'typings'
pythonVersion = '3.8'