forked from MontrealCorpusTools/Montreal-Forced-Aligner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (76 loc) · 1.57 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[build-system]
requires = [
"setuptools>=45", "wheel", "setuptools_scm>=6.2"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "montreal_forced_aligner/_version.py"
[tool.black]
line-length = 99
[tool.isort]
line_length = 99
profile = "black"
known_first_party = [
"montreal_forced_aligner"
]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-module = false
ignore-property-decorators = false
fail-under = 95
exclude = [
"tests",
"build",
"dist",
"setup.py",
"docs"
]
verbose = 100
omit-covered-files = false
quiet = false
generate-badge = "docs/source/_static"
badge-format = "svg"
whitelist-regex = []
ignore-regex = []
color = true
[tool.check-manifest]
ignore = [
".deepsource.toml",
".readthedocs.yaml",
]
[tool.coverage.run]
source = ["montreal_forced_aligner"]
concurrency = ["multiprocessing"]
branch = true
parallel = true
omit = [
".tox/*"
]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"pass",
"if sys.platform",
"except ImportError:",
"except KeyboardInterrupt:",
"except Exception as e:",
"except Exception:",
"if call_back",
"if is_set",
"if TYPE_CHECKING:",
"def history_save_handler() -> None:",
"class ExitHooks(object):",
"def main() -> None:",
"if os.path.exists",
"@abstractmethod",
'if "MFA_ERROR"',
]
fail_under = 50