-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (54 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
60 lines (54 loc) · 1.61 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
[tool.black]
line-length = 100
target-version = ['py311', 'py312', 'py313']
extend-exclude = '\.venv|node_modules|\.next'
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 100
ensure_newline_before_comments = true
[tool.pylint.main]
ignore-paths = [".*\\.venv.*", ".*node_modules.*", ".*\\.next.*", ".*__pycache__.*"]
fail-under = 8.5
max-line-length = 100
# Azure SDK clients (azure.search.documents.SearchClient, azure.cosmos.aio,
# azure.storage.blob.aio, azure.eventhub.aio, azure.identity.aio) resolve
# methods dynamically via azure.core decorators (distributed_trace_async,
# api_version_validation). pylint cannot statically infer them, so it emits
# E1101 no-member. The CI gate uses --fail-on=E,F, which means those false
# positives block every PR — including docs-only PRs that never touch SDK
# code. Whitelisting the Azure SDK surface as generated-members is the
# minimum-blast-radius fix: it suppresses no-member only for symbols whose
# fully-qualified name starts with `azure.`, leaving every project-owned
# symbol fully checked.
generated-members = [
"azure\\..*",
]
[tool.pylint."messages control"]
disable = [
"C0114",
"C0115",
"C0116",
"C0301",
"W3101",
"E0401",
"E0611",
"C0413",
"R0913",
"R0801",
"too-few-public-methods",
]
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
asyncio_mode = "auto"
markers = [
"e2e: marks end-to-end tests",
]
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false