-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
88 lines (79 loc) · 2.63 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
[build-system]
requires = [ "setuptools>=41.0.1",]
build-backend = "setuptools.build_meta"
[tool.mypy]
ignore_missing_imports = true
[tool.xcookie]
tags = [ "erotemic", "github", "purepy",]
mod_name = "xdoctest"
repo_name = "xdoctest"
rel_mod_parent_dpath = "./src"
os = [ "all", "win", "linux", "osx",]
min_python = '3.8'
author = "Jon Crall"
author_email = "[email protected]"
description = "A rewrite of the builtin doctest module"
url = "https://github.com/Erotemic/xdoctest"
license = "Apache 2"
dev_status = "stable"
typed = true
skip_autogen = ["MANIFEST.in"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
"Framework :: Pytest",
# This should be interpreted as Apache License v2.0
"License :: OSI Approved :: Apache Software License",
# Supported Python versions
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
]
[tool.xcookie.setuptools]
keywords = 'xdoctest,doctest,test,docstr,pytest'
[tool.xcookie.entry_points]
# the console_scripts entry point creates the xdoctest executable
console_scripts = [
"xdoctest = xdoctest.__main__:main",
]
# the pytest11 entry point makes the plugin available to pytest
pytest11 = [
"xdoctest = xdoctest.plugin",
]
[tool.pytest.ini_options]
addopts = "-p no:doctest --xdoctest --xdoctest-style=google --ignore-glob=setup.py --ignore-glob=dev --ignore-glob=docs"
norecursedirs = ".git ignore build __pycache__ dev _skbuild docs"
filterwarnings = [ "default", "ignore:.*No cfgstr given in Cacher constructor or call.*:Warning", "ignore:.*Define the __nice__ method for.*:Warning", "ignore:.*private pytest class or function.*:Warning",]
[tool.coverage.run]
branch = true
source = ["src/xdoctest"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
".* # pragma: no cover",
".* # nocover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if trace is not None",
"verbose = .*",
"^ *raise",
"^ *pass *$",
"if _debug:",
"if __name__ == .__main__.:",
]
omit = [
"*/setup.py",
]
[tool.xdoctest]
options = ''