Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (62 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (62 loc) · 1.75 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "current-setpoints"
version = "0.1.0"
description = "A library for calculating optimal current setpoints in multiphase PMSM drives using analytical and neural torque models"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Tereza Matasova", email = "matasovt@fel.zcu.cz" }
]
keywords = ["pmsm", "motor-control", "neural-network", "optimization", "multiphase"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.24",
"pandas>=2.0",
"scipy>=1.10",
"torch>=2.0",
"scikit-learn>=1.3",
"matplotlib>=3.7",
"seaborn>=0.12",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"ruff>=0.1",
]
docs = [
"mkdocs>=1.5",
]
[project.urls]
Repository = "https://github.com/AI-RICE/current-setpoints.git"
[tool.ruff]
line-length = 120
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["E501", "F403", "F405"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.setuptools.packages.find]
where = ["."]
include = ["current_setpoints*"]
exclude = ["tests*", "notebooks*", "data*", "weights*", "docs*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]