-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
37 lines (34 loc) · 928 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
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools>=42.0.0", "wheel>=0.34.2", "setuptools_scm[toml]>=3.4"] # PEP 508 specifications.
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/PartSeg_smfish/version.py"
[tool.black]
line-length = 120
target-version = ['py36']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
| package/PartSeg/version.py
)
'''
[tool.isort]
line_length=120
known_first_party=['PartSeg', 'PartSegData','PartSegCore','PartSegImage', 'PartSegCore_compiled_backend']
profile="black"
src_paths=["package"]