forked from streamlink/streamlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (46 loc) · 1.16 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools >=45",
"wheel",
"versioningit >=2.0.0, <3",
]
# https://versioningit.readthedocs.io/en/stable/index.html
[tool.versioningit]
default-version = "0.0.0+unknown"
[tool.versioningit.vcs]
method = "git"
[tool.versioningit.format]
distance = "{base_version}+{distance}.{vcs}{rev}"
dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
[tool.versioningit.next-version]
method = "null"
[tool.versioningit.onbuild]
source-file = "src/streamlink/_version.py"
build-file = "streamlink/_version.py"
# https://coverage.readthedocs.io/en/latest/config.html
[tool.coverage.run]
branch = true
source = [
"src",
"tests",
]
[tool.coverage.report]
omit = [
"src/streamlink/packages/*",
"src/streamlink_cli/packages/*",
]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == \"__main__\":",
]
# https://mypy.readthedocs.io/en/stable/config_file.html
[tool.mypy]
python_version = 3.7
show_error_codes = true
show_error_context = true
show_column_numbers = true
warn_no_return = false