-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
115 lines (92 loc) · 2.02 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# poetry
# ------
[tool.poetry]
name = "listparser"
version = "0.20"
description = "Parse OPML subscription lists"
authors = ["Kurt McKee <contactme@kurtmckee.org>"]
license = "MIT"
readme = "README.rst"
repository = "https://github.com/kurtmckee/listparser/"
documentation = "https://listparser.readthedocs.io/en/latest/"
keywords = ["opml", "foaf", "feed"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Text Processing :: Markup :: XML",
]
[tool.poetry.dependencies]
python = ">=3.9"
# The dependencies here must match the minimums tested in `tox.ini`.
requests = {version = ">=2.32.0,<3", optional = true}
lxml = {version = ">=4.6.2,<6", optional = true}
[tool.poetry.extras]
http = ["requests"]
lxml = ["lxml"]
# coverage
# --------
[tool.coverage.run]
relative_files = true
parallel = true
branch = true
source = [
"listparser",
"tests",
]
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]
[tool.coverage.report]
skip_covered = true
fail_under = 100
[tool.coverage.html]
directory = "htmlcov/"
skip_covered = false
# isort
# -----
[tool.isort]
profile = "black"
# mypy
# ----
[tool.mypy]
packages = "listparser"
strict = true
sqlite_cache = true
warn_unreachable = true
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
# pytest
# ------
[tool.pytest.ini_options]
addopts = "--color=yes"
filterwarnings = [
"error",
]
# scriv
# -----
[tool.scriv]
version = "literal: pyproject.toml: tool.poetry.version"
categories = [
"Python support",
"Added",
"Fixed",
"Removed",
"Changed",
"Deprecated",
"Security",
"Development",
]
entry_title_template = "{{ version }} - {{ date.strftime('%Y-%m-%d') }}"
format = "rst"
fragment_directory = "changelog.d"
insert_marker = "scriv-insert-here"
main_branches = ["main", "releases"]
new_fragment_template = "file: fragment-template.rst.txt"