-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (48 loc) · 1.23 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (48 loc) · 1.23 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
[project]
name = "articulous"
version = "0.1.0"
description = "Static site generator — XML + XSLT pipeline"
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
dependencies = [
"lxml>=5.0,<7",
]
[project.optional-dependencies]
test = [
"pytest>=8.0,<10",
"pytest-cov>=5.0,<8",
"coverage>=7.0,<8",
]
[project.scripts]
articulous = "articulous.cli:main"
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["articulous*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-q --cov --cov-branch --cov-report=term-missing --cov-fail-under=100"
[tool.ruff]
target-version = "py311"
[tool.pyright]
# lxml is a C extension with no inline type info; use the library
# source rather than flagging every "from lxml import etree" line.
useLibraryCodeForTypes = true
reportMissingTypeStubs = "none"
[tool.coverage.run]
source = ["articulous"]
branch = true
omit = ["articulous/__main__.py"]
[tool.coverage.report]
show_missing = true
skip_covered = false
fail_under = 100
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"^\\s*\\.\\.\\.\\s*$",
]