-
Notifications
You must be signed in to change notification settings - Fork 152
/
pyproject.toml
36 lines (34 loc) · 722 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "versioneer"]
build-backend = "setuptools.build_meta"
[tool.isort]
known_first_party = "nvflare"
profile = "black"
multi_line_output = 3
line_length = 120
skip = [".git", ".eggs", "venv", ".venv", "versioneer.py", "_version.py", "conf.py", "nvflare/__init__.py"]
skip_glob = [ "*.pyi", "**/*_pb2*" ]
[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310"]
include = '\.pyi?$'
exclude = '''
(
/(
# exclude a few common directories in the root of the project
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.pytype
| _build
| buck-out
| build
| dist
)/
| .pb2.
| _version.py
)
'''