-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (84 loc) · 2.48 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
[project]
name = "pelican-injector"
version = "1.0.0"
description = "Pelican plugin to inject custom code before or after specific HTML tags"
authors = [
{name = "Arturo 'Buanzo' Busleiman", email = "[email protected]"},
{name = "Justin Mayer", email = "[email protected]"}
]
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Pelican",
"Framework :: Pelican :: Plugins",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8.1"
dependencies = [
"pelican>=4.8.0",
"beautifulsoup4>=4.12.2",
]
[project.urls]
Homepage = "https://github.com/pelican-plugins/injector"
"Funding" = "https://donate.getpelican.com/"
"Issue Tracker" = "https://github.com/pelican-plugins/injector/issues"
[tool.pdm.dev-dependencies]
lint = [
"black>=23.3.0",
"invoke>=2.1.2",
"ruff>=0.0.275",
]
[tool.autopub]
project-name = "Injector"
git-username = "botpub"
git-email = "[email protected]"
append-github-contributor = true
[tool.ruff]
select = [
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"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 = [
"D100", # missing docstring in public module
"D104", # missing docstring in public package
"D203", # blank line before class docstring
"D213", # multi-line docstring summary should start at the second line
"PLR2004", # magic value used in comparison
]
target-version = "py38"
[tool.ruff.isort]
combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["pelican"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"