File: pyproject.toml

package info (click to toggle)
blag 2.3.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 520 kB
  • sloc: python: 1,037; makefile: 71
file content (87 lines) | stat: -rw-r--r-- 1,670 bytes parent folder | download
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
[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-files = ["LICENSE"]
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
    "feedgenerator",
    "jinja2",
    "markdown",
    "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]",
    "mypy",
    "pip-tools",
    "pytest",
    "pytest-cov",
    "ruff",
    "twine",
    "types-markdown",
    "wheel",
]

[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