-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
63 lines (55 loc) · 1.37 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
[project]
name = "xspf-lib"
description = "Library for work with xspf format"
authors = [
{name = "Dzmitry Izaitka", email = "[email protected]"},
]
dependencies = []
requires-python = ">=3.7"
readme = "README.rst"
license = {text = "MIT"}
keywords = ["xspf playlist"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["version"]
[project.urls]
Source = "https://github.com/dem214/xspf-lib"
"Bug Tracker" = "https://github.com/dem214/xspf-lib/issues"
Documentation = "https://xspf-lib.readthedocs.io/"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.version]
source = "scm"
write_to = "xspf_lib/_version.py"
write_template = "__version__ = '{}'"
[tool.pdm.dev-dependencies]
test = [
"pytest>=7.3.1",
]
lint = [
"flake8>=5.0.4",
"flake8-pyprojecttoml>=0.0.2",
"mypy>=1.3.0",
]
docs = [
"sphinx>=4.3.2",
]
[tool.pdm.scripts]
test = "pytest"
flake8 = "flake8 xspf_lib"
mypy = "mypy xspf_lib"
lint = {composite = ["flake8", "mypy"]}
[tool.isort]
profile = "black"
[tool.mypy]
disable_error_code = ["str-bytes-safe"]
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"