-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (43 loc) · 1000 Bytes
/
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
[tool.poetry]
name = "jax-pme"
version = "0.1.0-alpha.1"
description = "(Particle Mesh) Ewald summation in JAX"
authors = ["Marcel Langer <[email protected]>"]
license = "MIT"
packages = [
{include = "jaxpme"}
]
[tool.poetry.dependencies]
python = ">=3.7"
vesin = "*"
ase = ">=3.22.1"
numpy = "*"
[tool.poetry.group.dev.dependencies]
pytest = "*"
ruff = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 92
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# isort
"I",
]
# E741: don't worry about short variable names
# E731: don't worry about lambdas
ignore = ["E741", "E731"]
[tool.ruff.lint.isort]
section-order = ["numpy", "jax", "future", "standard-library", "third-party", "first-party", "local-folder"]
no-lines-before = ["jax"]
[tool.ruff.lint.isort.sections]
"numpy" = ["numpy"]
"jax" = ["jax", "jax.numpy"]
[tool.ruff.lint.extend-per-file-ignores]