-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (80 loc) · 2.14 KB
/
pyproject.toml
File metadata and controls
91 lines (80 loc) · 2.14 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core>=3.2"]
[project]
name = "matplotlib-inline"
description = "Inline Matplotlib backend for Jupyter"
authors = [
{name = "IPython Development Team", email = "ipython-dev@python.org"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: IPython",
"Framework :: Jupyter :: JupyterLab :: 3",
"Framework :: Jupyter :: JupyterLab :: 4",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Multimedia :: Graphics",
]
# do not rely on matplotlib/IPython, as we want matplotlib-inline to be _installable_ without pulling the other
# dependencies
dependencies = ["traitlets"]
dynamic = ["version"]
keywords = [
"ipython",
"jupyter",
"matplotlib",
"python",
]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.9"
[project.entry-points."matplotlib.backend"]
inline = "matplotlib_inline.backend_inline"
[project.optional-dependencies]
test = [
"flake8",
"nbdime",
"nbval",
"notebook",
"pytest",
]
[project.urls]
Homepage = "https://github.com/ipython/matplotlib-inline"
[tool.setuptools.dynamic]
version = {attr = "matplotlib_inline.__version__"}
[tool.pytest.ini_options]
xfail_strict = true
log_cli_level = "info"
addopts = [
"--nbval",
"--ignore=tests/notebooks/.ipynb_checkpoints/*",
"--strict-config",
"-ra",
"--strict-markers",
]
filterwarnings = ["error"]
testpaths = [
"tests",
]
[tool.mypy]
strict=false
warn_unreachable=true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
[tool.ruff]
[tool.ruff.lint]
extend-select = [
"UP", # pyupgrade
"I", # isort
"B", # flake8-bugbear
]