-
-
Notifications
You must be signed in to change notification settings - Fork 359
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (89 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
112 lines (89 loc) · 1.93 KB
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
[project]
name = "feedparser"
version = "6.0.11"
description = "Parse Atom/RSS/JSON feeds in Python"
readme = "README.rst"
requires-python = ">=3.10"
authors = [
{ name = "Kurt McKee", email = "contactme@kurtmckee.org" }
]
license = "BSD-2-Clause"
keywords = ["atom", "feed", "json", "rdf", "rss"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Text Processing :: Markup",
]
dependencies = [
"sgmllib3k==1.0.0",
"requests>=2.20.0",
]
[project.urls]
Source = "https://github.com/kurtmckee/feedparser"
Documentation = "https://feedparser.readthedocs.io/en/latest/"
Changelog = "https://feedparser.readthedocs.io/en/latest/changelog/"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
# coverage
# --------
[tool.coverage.run]
parallel = true
branch = true
source = [
"feedparser",
"tests",
]
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]
[tool.coverage.report]
skip_covered = true
fail_under = 93
[tool.coverage.html]
directory = "htmlcov/"
# flake8
# ------
[tool.flake8]
max-line-length = 80
extend-select = ["B950"]
extend-ignore = ["E203", "E501", "E701"]
# isort
# -----
[tool.isort]
profile = "black"
# mypy
# ----
[tool.mypy]
packages = "feedparser"
show_error_codes = true
sqlite_cache = true
# pytest
# ------
[tool.pytest.ini_options]
filterwarnings = [
"error",
]
# scriv
# -----
[tool.scriv]
version = "literal: pyproject.toml: project.version"
categories = [
"Python support",
"Added",
"Fixed",
"Removed",
"Changed",
"Deprecated",
"Security",
"Documentation",
"Project development",
]
entry_title_template = "{{ version }} - {{ date.strftime('%Y-%m-%d') }}"
format = "rst"
fragment_directory = "changelog.d"
insert_marker = "scriv-insert-here"
main_branches = ["develop", "master"]
new_fragment_template = "file: fragment-template.rst.txt"