-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpyproject.toml
64 lines (57 loc) · 1.65 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "matplotlib-scalebar"
dynamic = ["version"]
description = "Artist for matplotlib to display a scale bar"
readme = "README.md"
license = "BSD-2-clause"
requires-python = ">=3.9"
authors = [
{ name = "Philippe Pinard", email = "philippe.pinard@gmail.com" },
]
maintainers = [
{ name = "Philippe Pinard", email = "philippe.pinard@gmail.com" },
]
keywords = [
"bar",
"matplotlib",
"micron",
"scale",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Matplotlib",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Visualization",
]
dependencies = [
"matplotlib",
]
[project.urls]
Homepage = "https://github.com/ppinard/matplotlib-scalebar"
Tracker = "https://github.com/ppinard/matplotlib-scalebar/issues"
Source = "https://github.com/ppinard/matplotlib-scalebar"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "matplotlib_scalebar/_version.py"
[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
"ruff"
]
[tool.hatch.envs.default.scripts]
test = "pytest -W error::Warning --cov=matplotlib_scalebar --cov-report term --cov-report xml"
lint = "ruff check ."
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]