-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.56 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (63 loc) · 1.56 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "scipy_doctest"
maintainers = [
{name = "SciPy developers", email = "scipy-dev@python.org"}
]
readme = "README.md"
requires-python = ">=3.8"
license={file = "LICENSE"}
dynamic = ["version", "description"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Framework :: Pytest",
]
dependencies = [
"numpy>=1.19.5",
"pytest",
]
[project.optional-dependencies]
test = [
"scipy",
"matplotlib"
]
doc = [
"furo==2024.8.6",
"myst-parser==4.0.0",
"sphinx==8.1.3",
"sphinx-copybutton==0.5.2"
]
[project.urls]
Home = "https://github.com/scipy/scipy_doctest"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# isort
"I",
]
[tool.ruff.lint.per-file-ignores]
"scipy_doctest/tests/module_cases.py" = ["E501"]
"scipy_doctest/tests/local_file_cases.py" = ["E501"]
[tool.ruff.format]
# Enable reformatting of code snippets in docstrings.
docstring-code-format = true
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
addopts = "--verbose --color=yes"
# specify project entrypoints to make each plugin discoverable by pytest
# ref: https://docs.pytest.org/en/latest/how-to/writing_plugins.html#making-your-plugin-installable-by-others
[project.entry-points.pytest11]
scipy_doctest = "scipy_doctest.plugin"