forked from sandialabs/pyttb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (68 loc) · 1.58 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[project]
name = "pyttb"
dynamic = ["version"]
description = "Python Tensor Toolbox"
authors = [
{name="Daniel M. Dunlavy", email="[email protected]"},
]
license = { text="BSD 2-Clause License" }
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"numpy",
"numpy_groupies",
"scipy",
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
[project.urls]
homepage = "https://github.com/sandialabs/pyttb"
coverage = "https://coveralls.io/github/sandialabs/pyttb"
documentation = "https://pyttb.readthedocs.io"
[project.optional-dependencies]
dev = [
"black",
"isort",
"pylint",
"mypy",
"pytest",
"pytest-cov",
]
doc = [
"sphinx_rtd_theme",
]
[tool.setuptools]
packages = ["pyttb"]
[tool.setuptools.dynamic]
version = {attr = "pyttb.__version__"}
[build-system]
requires = ["setuptools>=61.0", "numpy", "numpy_groupies", "scipy", "wheel"]
build-backend = "setuptools.build_meta"
[tool.isort]
profile = "black"
[tool.pylint]
# Play nice with black
max-line-length = 88
disable="fixme,too-many-lines"
[tool.pylint.basic]
# To match MATLAB Tensortoolbox styles for clarity
argument-naming-style = "any"
class-naming-style = "any"
variable-naming-style = "any"
[tool.pylint.design]
# MATLAB Tensortoolbox interface
max-public-methods = 40
[tool.mypy]
warn_unused_configs = true
plugins = "numpy.typing.mypy_plugin"
[[tool.mypy.overrides]]
module = [
"scipy",
"scipy.sparse",
"scipy.sparse.linalg",
"numpy_groupies"
]
ignore_missing_imports = true