-
Notifications
You must be signed in to change notification settings - Fork 28
/
pyproject.toml
74 lines (64 loc) · 1.57 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "matplotlib-label-lines"
dynamic = ["version"]
description = "Label lines in matplotlib."
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Corentin Cadiou", email = "contact@cphyc.me" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Matplotlib",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: AIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"matplotlib>=2.0.2",
"more-itertools",
"numpy>=1.16",
]
[project.optional-dependencies]
test = [
"matplotlib==3.9.3",
"pytest-cov==6.0.0",
"pytest-mpl==0.17.0",
"pytest==8.3.3",
]
[project.urls]
Homepage = "https://github.com/cphyc/matplotlib-label-lines"
[tool.hatch.version]
path = "labellines/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/labellines",
]
[tool.hatch.build.targets.wheel]
packages = [
"labellines",
]
[tool.pytest.ini_options]
filterwarnings = [
"error",
]
[tool.ruff.lint]
ignore = ["N802", "N806", "C901", "UP007"]
select = ["E", "C", "F", "UP", "B", "A", "YTT", "S", "N"]
[tool.ruff.lint.per-file-ignores]
"**/test*.py" = ["S101"]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["labellines"]
known-third-party = [
"numpy",
"matplotlib",
]