forked from FederatedAI/FATE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
40 lines (37 loc) · 834 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
[tool.autoflake]
check = false
exclude = ["examples/*", "python/fate_test/*", "python/fate_client/*", "doc/*", "deploy/*", "c/*", "rust/*"]
[tool.isort]
profile = "black"
skip_glob = ["examples/*", "python/fate_test/*", "python/fate_client/*", "doc/*", "deploy/*", "c/*", "rust/*", "*_pb2.py", "*_pb2_grpc.py"]
[tool.black]
line-length = 119
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
(
^/fate_flow/ |
^/eggroll/ |
^/examples/ |
^/fate_client/ |
.*_pb2.py |
.*_pb2_grpc.py |
^/examples/ |
^/rust/ |
^/c/ |
^/doc/ |
^/deploy/
)
'''
[tool.pyright]
include = ["python"]
exclude = ["**/node_modules",
"**/__pycache__",
"src/typestubs"
]
defineConstant = { DEBUG = true }
reportMissingImports = true
reportMissingTypeStubs = false
executionEnvironments = [
{ root = "python" },
]