-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
86 lines (75 loc) · 1.62 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
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
[project]
name = "blag"
authors = [
{ name="Bastian Venthur", email="mail@venthur.de" },
]
description = "blog-aware, static site generator"
keywords = ["markdown", "blag", "blog", "static site generator", "cli"]
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"markdown",
"feedgenerator",
"jinja2",
"pygments",
]
[project.scripts]
blag = "blag.blag:main"
[project.urls]
'Documentation' = 'https://blag.readthedocs.io/'
'Source' = 'https://github.com/venthur/blag'
'Changelog' = 'https://github.com/venthur/blag/blob/master/CHANGELOG.md'
[project.optional-dependencies]
dev = [
"build",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"twine",
"wheel",
"pytest",
"pytest-cov",
"ruff",
"mypy",
"types-markdown",
]
[tool.setuptools.dynamic]
version = {attr = "blag.__VERSION__" }
[tool.setuptools]
packages = [
"blag",
"blag.templates",
"blag.static",
"blag.content",
"tests",
]
[tool.pytest.ini_options]
addopts = """
--cov=blag
--cov=tests
--cov-report=html
--cov-report=term-missing:skip-covered
"""
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", "W", # pycodestyle
"C90", # mccabe
"I", # isort
"D", # pydocstyle
"UP" # pyupgrade
]
pydocstyle.convention = "numpy"
[tool.mypy]
files = "blag,tests"
strict = true
[[tool.mypy.overrides]]
module = "feedgenerator.*"
ignore_missing_imports = true