-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
112 lines (95 loc) · 2.28 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = [ "poetry>=1.0.0" ]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "audio-metadata"
description = "A library for reading and, in the future, writing metadata from audio files."
version = "0.11.1"
license = "MIT"
authors = ["thebigmunch <[email protected]>"]
readme = "README.md"
repository = "https://github.com/thebigmunch/audio-metadata"
homepage = "https://github.com/thebigmunch/audio-metadata"
[tool.poetry.dependencies]
python = "^3.6"
attrs = ">=18.2"
bidict = "0.*"
bitstruct = ">=6.0,<9.0"
more-itertools = ">=4.0,<9.0"
pendulum = ">=2.0,<=3.0,!=2.0.5,!=2.1.0" # Work around https://github.com/sdispater/pendulum/issues/454
pprintpp = "0.*"
tbm-utils = "^2.3"
wrapt = "^1.0"
coverage = { version = ">=5.0,<6.0", optional = true, extras = [ "toml" ] }
flake8 = { version = "^3.5", optional = true }
flake8-builtins = { version = "^1.0", optional = true }
flake8-comprehensions = { version = ">=2.0,<=4.0", optional = true }
flake8-import-order = { version = "^0.18", optional = true }
flake8-import-order-tbm = { version = "^1.0", optional = true }
furo = { version = "*", optional = true, allow-prereleases = true }
myst-parser = { version = ">=0.12", optional = true }
nox = { version = ">=2019", optional = true }
sphinx = { version = "^3.0", optional = true }
ward = { version = ">=0.42.0-beta.0", optional = true }
[tool.poetry.extras]
dev = [
"coverage",
"flake8",
"flake8-builtins",
"flake8-comprehensions",
"flake8-import-order",
"flake8-import-order-tbm",
"furo",
"myst-parser",
"nox",
"sphinx",
"ward",
]
doc = [
"furo",
"myst-parser",
"sphinx",
]
lint = [
"flake8",
"flake8-builtins",
"flake8-comprehensions",
"flake8-import-order",
"flake8-import-order-tbm",
]
test = [
"coverage",
"nox",
"ward",
]
[tool.coverage.run]
branch = true
source = [
"audio_metadata",
"tests",
]
[tool.coverage.report]
precision = 2
show_missing = true
exclude_lines = [
"__all__",
"import",
"except ImportError:",
"pass",
"# pragma: nocover",
"# pragma: no cover",
"# pragma: nobranch",
"# pragma: no branch",
]
[tool.interrogate]
fail-under = 100
ignore-init-method = true
ignore-init-module = true
ignore-magic = true
ignore-private = true
ignore-semiprivate = true
exclude = [
"src/audio_metadata/__about__.py",
]
[tool.ward]
path = [ "tests" ]