-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpyproject.toml
43 lines (41 loc) · 1.12 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
[tool.black]
line-length = 120
target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
# 3rd party code, don't touch
"biothings/utils/jsondiff.py",
"biothings/utils/jsonpatch.py",
# deprecated code, don't touch
"biothings/utils/parallel.py",
"biothings/utils/parallel_mp.py",
"biothings/utils/shelve.py",
"biothings/hub/dataload/sync.py",
"biothings/hub/dataload/validator.py",
)
'''
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 120
src_paths = ["."]
extend_skip = [
# 3rd party code, don't touch
"biothings/utils/jsondiff.py",
"biothings/utils/jsonpatch.py",
# deprecated code, don't touch
"biothings/utils/parallel.py",
"biothings/utils/parallel_mp.py",
"biothings/utils/shelve.py",
"biothings/hub/dataload/sync.py",
"biothings/hub/dataload/validator.py",
]
[tool.pytest.ini_options]
markers = [
"ReleaseNoteSrcBuildReaderAdapter",
"ReleaseNoteSrcBuildReader",
"ReleaseNoteSource",
"ReleaseNoteTxt",
]