-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
75 lines (66 loc) · 1.76 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
[tool.poetry]
name = "geometricalgebra"
version = '0.1.3'
description = "A package for conformal geometric algebra"
authors = [
"Daniel Vorberg <[email protected]>",
"Patrick Schmager <[email protected]>",
"Christoph Biering <[email protected]>",
]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
numpy = ">=1.19.0"
scipy = ">=1.8.0"
tensorflow = { version = ">=2.16.1", optional = true }
matplotlib = { version = ">=3.4.2", optional = true }
jax = { version = ">=0.4.27", optional = true }
jaxlib = { version = ">=0.4.27", optional = true }
[tool.poetry.extras]
all = ["matplotlib", "tensorflow", "tensorflow-macos", "jax", "jaxlib"]
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.4"
pylint = "^2.15.4"
mypy = "^1.8.0"
isort = "^5.10.1"
darglint = "^1.8.1"
black = "^24.1.1"
nbval = "^0.11.0"
pytest-cov = "^4.1.0"
pytest-mpl = "^0.16.1"
jupyter = "^1.0.0"
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
warn_unreachable = true
warn_unused_configs = true
junit_xml = "reports/mypy/mypy.xml"
show_error_context = true
warn_unused_ignores = true
strict_equality = true
mypy_path = ".mypy_stubs"
files = "geometricalgebra"
namespace_packages = true
explicit_package_bases = true
[tool.black]
line-length = 120
target-version = ['py39']
exclude = "geometricalgebra/tests/test_cayley.py"
[tool.isort]
profile = "black"
line_length = 120
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = """
--doctest-modules
--nbval
--mpl
--mpl-baseline-path=baseline
--nbval-current-env"""
junit_family = "xunit2"
norecursedirs = "develop .ipynb_checkpoints .venv .tox *.egg"
testpaths = """
geometricalgebra notebooks
"""