-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
128 lines (113 loc) · 2.7 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = [
"setuptools >= 40.9.0",
"wheel",
"versioningit",
]
build-backend = "setuptools.build_meta"
[project]
name = "audio_feeder"
authors = [{name = "Paul Ganssle"}]
description = """
audio-feeder provides a server that serves your audiobooks and other audio
content as RSS feeds, with rich metadata, and provides a web frontent for navigation."""
license = {text = "Apache 2.0"}
requires-python = ">= 3.9"
dependencies = [
"Flask>=0.11.1",
"pyyaml>=6.0",
"qrcode>=5.3",
"Pillow>=3.4.2",
"requests>=2.12.4",
"jinja2",
"click>=6.0",
"progressbar2",
"lxml>=2.0",
"SQLAlchemy>=1.4,<2",
"attrs>=22.0",
"backports.strenum>=1.1.1;python_version<'3.11'",
"typing_extensions>=4.0.0;python_version<'3.11'",
]
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Framework :: Flask",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dynamic = ["version", "readme"]
[project.scripts]
audio-feeder = "audio_feeder.cli:cli"
[tool.setuptools]
packages = {find = {where = ["src"]}}
package-data = { audio_feeder=["data/**/*"] }
license-files = ["LICENSE"]
[tool.versioningit]
vcs={method = "git", default-tag = "0.0.0"}
write={file="src/audio_feeder/_version.py"}
## Isort
[tool.isort]
atomic=true
force_grid_wrap=0
include_trailing_comma=true
known_first_party = ["audio_feeder"]
known_third_party=[
"click",
"flask",
"hypothesis",
"jinja2",
"lxml",
"ruamel",
"PIL",
"progressbar2",
"pytest",
"qrcode",
"requests"
]
multi_line_output=3
use_parentheses=true
## Coverage
[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]
[tool.coverage.report]
show_missing = true
skip_covered = true
## Mypy
[tool.mypy]
exclude = ["data/"]
show_error_codes = true
[[tool.mypy.overrides]]
module = "qrcode.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "progressbar.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "dotenv.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "werkzeug.*"
ignore_missing_imports = true
## Pytest
[tool.pytest.ini_options]
log_level = "DEBUG"
xfail_strict = true
## Pylint
[tool.pylint.'MESSAGES CONTROL']
disable="all"
enable="""
unused-import,
unused-variable,
unpacking-non-sequence,
invalid-all-object,
used-before-assignment,
no-else-raise,
bad-format-character,
bad-format-string,
bare-except,
"""