-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
65 lines (60 loc) · 1.33 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
[tool.black]
line-length = 130
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
)
'''
skip_magic_trailing_comma = true
[tool.isort]
profile = "black"
src_paths = [
"pika-stubs",
]
combine_as_imports = true
line_length = 130
force_single_line = true
use_parentheses = true
extra_standard_library = [
"typing_extensions",
]
[tool.pyright]
include = ["pika-stubs"]
exclude = [
"**/__pycache__",
]
ignore = []
stubPath = "."
typeCheckingMode = "strict"
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
strictParameterNoneValue = true
reportPrivateUsage = "warning"
reportPropertyTypeMismatch = "warning"
reportMissingImports = "error"
reportMissingModuleSource = "error"
reportMissingTypeStubs = "error"
reportUnusedImport = false
reportUnusedClass = "error"
reportUnusedFunction = "error"
reportUnusedVariable = "error"
reportDuplicateImport = "error"
reportUnknownParameterType = "error"
reportUnknownArgumentType = "error"
reportUnknownLambdaType = "error"
reportUnknownVariableType = "error"
reportUnknownMemberType = "error"
reportMissingTypeArgument = "error"
reportMissingParameterType = "error"