-
Notifications
You must be signed in to change notification settings - Fork 238
/
pyproject.toml
110 lines (102 loc) · 3.18 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
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "geomstats"
dynamic = ["version"]
authors = [{ name = "Nina Miolane", email = "nmiolane@gmail.com" }]
readme = "README.rst"
description = "Geometric statistics on manifolds"
license = { file = "LICENSE.md" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">= 3.8"
dependencies = [
"joblib >= 0.17.0",
"matplotlib >= 3.3.4",
"numpy >= 1.18.1",
"pandas >= 1.1.5",
"scikit-learn >= 0.22.1",
"scipy >= 1.9",
]
[project.optional-dependencies]
doc = [
"jupyter",
"nbsphinx",
"nbsphinx_link",
"sphinx",
"sphinx_gallery",
"pydata-sphinx-theme",
]
lint = [
"black",
"flake8",
"flake8-docstrings",
"Flake8-pyproject",
"isort",
"pre-commit",
]
test = ["pytest", "pytest-cov", "coverage", "jupyter", "ipython < 8.23"]
graph = ["networkx"]
autograd = ["autograd >= 1.3"]
pytorch = ["torch >= 1.9.1"]
backends = ["geomstats[autograd, pytorch]"]
opt = ["geomstats[graph]"]
dev = ["geomstats[test, lint, doc]"]
all = ["geomstats[dev, opt, backends]"]
[project.urls]
homepage = "http://github.com/geomstats/geomstats"
documentation = "https://geomstats.github.io/"
repository = "http://github.com/geomstats/geomstats"
[tool.setuptools.dynamic]
version = { attr = "geomstats.__version__" }
[tool.setuptools.packages.find]
include = ["geomstats", "geomstats.*"]
[tool.setuptools.package-data]
"*" = ["datasets/data/**/*"]
[tool.pytest.ini_options]
markers = [
"smoke: simple and basic numerical tests.",
"random: tests that use randomized data.",
"validation: not smoke, neither random.",
"ignore: deselect tests.",
"vec: vectorization tests.",
"shape: array shape tests.",
"type: checks output types.",
"mathprop: mathematical properties tests.",
"slow: for slow tests.",
"redundant: redundant test.",
]
[tool.flake8]
application_import_names = "geomstats"
docstring-convention = "numpy"
exclude = "examples/*.ipynb"
ignore = ["W503", "W504"]
import_order_style = "smarkets"
max-line-length = 88
extend-ignore = "E203"
per-file-ignores = [
"geomstats/learning/_sklearn_wrapper.py: D101, D102, D105",
"geomstats/*: E731",
"geomstats/_backend/*:F401, D103",
"geomstats/numerics/*:D104,E731",
"geomstats/test_cases/backend/__init__.py: D104, F401",
"geomstats/visualization/*: D101, D102",
"geomstats/visualization/__init__.py: F401",
"geomstats/tests.py : D101, D102",
"tests/*: D100, D101, D102, D103, D106, D200, D201, D205, D400, D404, I100, I101, I201, I202, E501, E731",
"tests/conftest.py: D100, F401",
"*/__init__.py: D104",
"geomstats/test*/*: D100, D101, D102, D103, D104, E501",
]