-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (93 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
103 lines (93 loc) · 2.01 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
94
95
96
97
98
99
100
101
102
103
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "waveform-editor"
description = "Python tool to create and edit 1D waveforms (time-varying signals)"
readme = {file = "README.md", content-type = "text/markdown"}
authors = [
{name = "Waveform Editor Developers"}
]
classifiers = [
]
license = {file = "LICENSE.txt"}
requires-python = ">=3.10"
dependencies = [
"numpy",
"pandas",
"click",
"matplotlib",
"scipy",
"imas-python[netcdf]",
"panel>=1.6.3",
"pygments",
"plotly",
"holoviews",
"ruamel.yaml",
"kaleido", # required for exporting PNG to disk
"asteval",
"muscle3",
]
dynamic = ["version"]
[project.optional-dependencies]
all = ["waveform-editor[dev,linting,test,docs]"]
dev = [
"waveform-editor[test,linting]",
# useful to run panel in --dev mode
"watchfiles",
]
linting = [
"ruff",
]
test = [
"pytest>=5.4.1",
"pytest-cov>=0.6",
"pytest-xdist",
"pytest-randomly",
]
docs = [
"sphinx>=6.0.0,<7.0.0",
"sphinx-autosummary-accessors>=0.1.2",
"sphinx-immaterial>=0.11.0,<0.12",
]
[project.urls]
homepage = "https://github.com/iterorganization/Waveform-Editor"
[tool.setuptools.packages.find]
where = ["."]
include = ["waveform_editor*"]
[project.scripts]
waveform-editor = "waveform_editor.cli:cli"
[tool.setuptools_scm]
#version_file = "waveform_editor/_version.py"
local_scheme = "no-local-version"
[tool.isort]
line_length = 88
profile = "black"
[tool.ruff]
exclude = [
"docs",
".git",
]
# Same as Black
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.pytest.ini_options]
filterwarnings = [
# filter deprecation warning mentioned in https://github.com/plotly/Kaleido/issues/194
"ignore:setDaemon\\(\\) is deprecated, set the daemon attribute instead:DeprecationWarning"
]