-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
137 lines (124 loc) · 3.02 KB
/
Copy pathpyproject.toml
File metadata and controls
137 lines (124 loc) · 3.02 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "ampworks"
readme = "README.md"
dynamic = ["version"]
description = "Battery data analysis and visualization tools."
keywords = [
"battery", "data", "analysis", "model", "degradation", "ecm", "spm", "p2d",
"parameters", "visualization", "dqdv", "gitt", "ici", "hppc", "ocv",
]
requires-python = ">=3.11,<3.16"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [
{ name = "Corey R. Randall" },
{ email = "corey.r.randall@gmail.com" },
]
maintainers = [
{ name = "Corey R. Randall" },
{ email = "corey.r.randall@gmail.com" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
]
dependencies = [
"tqdm",
"xlrd",
"numpy",
"bokeh",
"polars",
"plotly",
"IPython",
"pyarrow",
"seaborn",
"openpyxl",
"fastexcel",
"matplotlib",
"numdifftools",
"pandas >= 3.0",
"scipy >= 1.13",
]
[project.scripts]
ampworks = "ampworks.cli:main"
[tool.setuptools.dynamic]
version = { attr = "ampworks.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ["*.yaml", ".yml", "*.csv", "*.css", "*.parquet"]
[tool.ruff]
line-length = 80
exclude = ["build", "docs", "images", "reports"]
[tool.ruff.format]
quote-style = "preserve"
[tool.ruff.lint]
preview = true
select = [
"E", # All pycodestyle errors
"W", # All pycodestyle warnings
"F", # All pyflakes errors
"B", # All flake8-bugbear checks
"D", # All pydocstyle checks
]
extend-select = [
"E302", "E305", # Expected blank lines (requires preview=true, above)
]
ignore = [
"B007", "B009", "B010", "B028", "B905",
"D1", "D203", "D205", "D212", "D400", "D401", "D415",
"E201", "E202", "E226", "E241", "E731",
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"tests/**/*" = ["D"]
[tool.coverage.report]
exclude_also = [
"def __repr__",
"if TYPE_CHECKING",
]
[project.optional-dependencies]
gui = [
"dash",
"dash-ag-grid",
"dash-extensions",
"dash-breakpoints",
"dash-bootstrap-templates",
"dash-bootstrap-components",
]
docs = [
"sphinx",
"myst-nb",
"numpydoc",
"sphinx-design",
"sphinx-autoapi",
"sphinx-copybutton",
"pydata-sphinx-theme",
]
tests = [
"pytest",
"pytest-cov",
"pytest-html",
"pytest-xdist",
]
dev = [
"nox",
"ruff",
"codespell",
"ampworks[gui,docs,tests]",
]
[project.urls]
Homepage = "https://github.com/NatLabRockies/ampworks"
Documentation = "https://github.com/NatLabRockies/ampworks"
Repository = "https://github.com/NatLabRockies/ampworks"
Issues = "https://github.com/NatLabRockies/ampworks/issues"