-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
77 lines (67 loc) · 1.72 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
[tool.poetry]
name = "jax-sph"
version = "0.1.0"
description = "JAX-SPH: Smoothed Particle Hydrodynamics in JAX"
authors = ["Artur Toshev <[email protected]>",]
maintainers = ["Artur Toshev <[email protected]>",]
license = "MIT"
readme = "README.md"
homepage = "https://jax-sph.readthedocs.io/"
documentation = "https://jax-sph.readthedocs.io/"
repository = "https://github.com/tumaer/jax-sph"
[tool.poetry.dependencies]
python = ">=3.9,<=3.11"
h5py = ">=3.9.0"
pandas = ">=2.1.4" # for validation
pyvista = ">=0.42.2" # for visualization
jax = {version = "0.4.29", extras = ["cpu"]}
jaxlib = "0.4.29"
omegaconf = ">=2.3.0"
matscipy = ">=0.8.0"
jraph = ">=0.0.6.dev0" # for jax-md
absl-py = ">=2.1.0" # for jax-md
[tool.poetry.group.dev.dependencies]
pre-commit = ">=3.3.1"
pytest = ">=7.3.1"
pytest-cov = ">=4.1.0"
ruff = ">=0.1.8"
[tool.poetry.group.temp.dependencies]
ott-jax = ">=0.4.2"
ipykernel = ">=6.25.1"
[tool.poetry.group.docs.dependencies]
sphinx = "7.2.6"
sphinx-exec-code = "0.12"
sphinx-rtd-theme = "1.3.0"
toml = ">=0.10.2"
[tool.ruff]
exclude = [
".git",
".venv*",
"venv*",
"docs/_build",
"dist"
]
show-fixes = true
line-length = 88
[tool.ruff.lint]
ignore = ["F821", "E402"]
select = [
"E", # pycodestyle
"F", # Pyflakes
"SIM", # flake8-simplify
"I", # isort
]
[tool.pytest.ini_options]
testpaths = "tests/"
addopts = "--cov=jax_sph --cov-fail-under=50 --ignore=jax_sph/jax_md"
filterwarnings = [
# ignore all deprecation warnings except from jax-sph
"ignore::DeprecationWarning:^(?!.*jax_sph).*"
]
[tool.coverage.run]
omit = ["jax_sph/jax_md/*"]
[tool.coverage.report]
omit = ["jax_sph/jax_md/*"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"