-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
125 lines (114 loc) · 3.61 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
[project]
name = "pelican-webring"
version = "1.4.0"
description = "Webring is a Pelican plugin that adds external article summaries to your site from a list of web feeds"
authors = [
{name = "David Alfonso", email = "developer@davidalfonso.es"},
{name = "Justin Mayer", email = "entroP@gmail.com"},
]
license = {text = "AGPL-3.0"}
readme = "README.md"
keywords = ["pelican", "plugin"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Pelican",
"Framework :: Pelican :: Plugins",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8.1,<4.0"
dependencies = [
"pelican>=4.5",
"feedparser>=6.0",
]
[project.urls]
Homepage = "https://github.com/pelican-plugins/webring"
"Issue Tracker" = "https://github.com/pelican-plugins/webring/issues"
Funding = "https://donate.getpelican.com/"
[project.optional-dependencies]
markdown = ["markdown>=3.4"]
[tool.pdm]
[tool.pdm.dev-dependencies]
lint = [
"invoke>=2.2.0",
"ruff>=0.5.0,<0.6.0"
]
test = [
"markdown>=3.4",
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-sugar>=1.0",
]
[tool.pdm.build]
source-includes = [
"CHANGELOG.md",
"CONTRIBUTING.md",
"webring-footer.jpg",
"webring-page.jpg",
]
includes = ["pelican/"]
excludes = ["**/.DS_Store", "**/test_data/**", "tasks.py"]
[tool.autopub]
project-name = "Webring"
git-username = "botpub"
git-email = "52496925+botpub@users.noreply.github.com"
append-github-contributor = true
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
"PGH", # pygrep-hooks
"PL", # pylint
"RET", # flake8-return
"RUF", # ruff-specific rules
"SIM", # flake8-simplify
"T10", # flake8-debugger
"T20", # flake8-print
"TID", # flake8-tidy-imports
"TRY", # tryceratops
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = [
"B007", # ensure loop control variables are used within loop body
"D100", # missing docstring in public module
"D101", # missing docstring in public class
"D102", # missing docstring in public method
"D103", # missing docstring in public function
"D104", # missing docstring in public package
"D107", # missing docstring in __init__
"D203", # blank line before class docstring
"D213", # multi-line docstring summary should start at the second line
"ISC001", # avoid implicitly concatenated strings on a single line
"PLE1205", # use appropriate number of arguments for format string
"PLR2004", # avoid using magic values in comparison
"PLW0603", # avoid using global statements
"RET503", # unnecessary `else` after `return` statement
"RET505", # use explicit `return` at end of function able to return non-`None` value
]
[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["pelican"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"