-
-
Notifications
You must be signed in to change notification settings - Fork 142
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (82 loc) · 2.3 KB
/
pyproject.toml
File metadata and controls
93 lines (82 loc) · 2.3 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
92
93
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "livelossplot"
version = "0.6.1"
description = "Live training loss plot in Jupyter Notebook for Keras, PyTorch and others."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE.txt"]
requires-python = ">=3.10"
authors = [
{ name = "Piotr Migdał", email = "pmigdal@gmail.com" },
]
keywords = ["keras", "pytorch", "plot", "chart", "deep-learning"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Visualization",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"matplotlib>=3.6",
"bokeh>=3.0",
"ipython>=8.0",
]
[project.urls]
Homepage = "https://github.com/stared/livelossplot"
Repository = "https://github.com/stared/livelossplot"
Issues = "https://github.com/stared/livelossplot/issues"
Changelog = "https://github.com/stared/livelossplot/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"pytest",
"ruff",
"ty",
"jupyter",
]
docs = [
"pdoc",
]
[tool.hatch.build.targets.wheel]
packages = ["livelossplot"]
[tool.hatch.build.targets.sdist]
include = [
"livelossplot",
"README.md",
"LICENSE.txt",
"CHANGELOG.md",
]
[tool.ruff]
line-length = 120
target-version = "py310"
extend-exclude = ["examples", "build", "dist", "scripts"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RET"]
ignore = [
"E501",
"B008",
"SIM102",
"SIM108",
]
[tool.ruff.lint.per-file-ignores]
# Package init files re-export their public API via star imports.
"**/__init__.py" = ["F401", "F403", "F405"]
[tool.ruff.format]
quote-style = "preserve"
[tool.ty.src]
include = ["livelossplot"]
[tool.ty.rules]
# Optional integrations (keras, torch, tensorflow, ignite, poutyne) aren't in
# the dev group on purpose, so their imports are unresolved during linting.
unresolved-import = "warn"