-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (37 loc) · 1.25 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (37 loc) · 1.25 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
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[project]
name = "rst-code-example-pipeline"
version = "0.3.0"
requires-python = ">=3.10"
[project.scripts]
extract-code = "rst_code_example_pipeline.cli.extract:main"
check-code = "rst_code_example_pipeline.cli.check:main"
check-block = "rst_code_example_pipeline.cli.check_block:main"
[project.optional-dependencies]
test = ["pytest", "pytest-cov"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
rst_code_example_pipeline = ["data/*.ini"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=rst_code_example_pipeline --cov-report=term-missing --strict-markers"
markers = [
"toolchain: test needs the Ada toolchain -- it either invokes a binary (gcc, gprbuild, gnatprove, gnatchop) on PATH, or reaches code that creates/removes symlinks under the toolchain installation tree",
]
[tool.coverage.run]
source = ["rst_code_example_pipeline"]
branch = true
[tool.coverage.report]
show_missing = true
fail_under = 99
exclude_lines = [
# Standard pragma for uncoverable lines
"pragma: no cover",
# CLI __main__ entry points are not exercised by unit tests
"if __name__ == .__main__.:",
]
[tool.pyright]
pythonVersion = "3.10"