/
pyproject.toml
91 lines (76 loc) · 2.2 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
[tool.poetry]
name = "deezer-python"
version = "6.0.0"
description = "A friendly wrapper library for the Deezer API"
authors = ["Bruno Alla <alla.brunoo@gmail.com>"]
license = "MIT"
readme = "README.md"
keywords = ["deezer", "sdk", "client", "requests"]
repository = "https://github.com/browniebroke/deezer-python"
documentation = "https://deezer-python.readthedocs.io"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules"
]
packages = [
{ include = "deezer", from = "src" },
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/browniebroke/deezer-python/issues"
"Changelog" = "https://deezer-python.readthedocs.io/en/latest/changelog.html"
"Twitter" = "https://twitter.com/_BrunoAlla"
"Mastodon" = "https://fosstodon.org/@browniebroke"
[tool.poetry.dependencies]
python = "^3.8"
requests = ">=2.18"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
myst-parser = ">=0.16"
sphinx = ">=4.0"
sphinx-autobuild = ">=2021.0"
sphinx-rtd-theme = ">=1.0"
[tool.poetry.group.dev.dependencies]
coverage = "^7.0"
environs = "^9.3"
pytest = "^7.0"
pytest-cov = "^4.0"
pytest-mock = "^3.6"
pytest-vcr = "^1.0"
vcrpy = "^5.0.0"
deezer-oauth-cli = "^1.0.0"
[tool.semantic_release]
version_toml = "pyproject.toml:tool.poetry.version"
version_variable = "src/deezer/__init__.py:__version__"
branch = "main"
build_command = "pip install poetry && poetry build"
[tool.pytest.ini_options]
addopts = "-v -Wdefault --cov=deezer"
pythonpath = ["src"]
[tool.coverage.run]
branch = true
source = ["deezer"]
[tool.coverage.report]
ignore_errors = true
exclude_lines = [
"pragma: no cover",
"@overload",
"if TYPE_CHECKING",
"raise NotImplementedError",
]
[tool.isort]
profile = "black"
known_first_party = "deezer"
[tool.mypy]
# suppress errors about unsatisfied imports
ignore_missing_imports = true
no_implicit_optional = true
# ensure all execution paths are returning
warn_no_return = true
show_error_codes = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"