-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
46 lines (40 loc) · 943 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
[project]
name = "mechanix"
version = "0.0.1"
description = "Lagrangians in JAX"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
keywords = []
authors = [
{ name = "Victor Velev", email = "vivelev@icloud.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = ["jax", "tree-math", "matplotlib", "tqdm"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = ["mechanix/*"]
[tool.hatch.envs.dev]
dependencies = [
"jaxlib",
"altair",
"pre-commit",
"ruff",
"ruff-lsp",
"python-lsp-server",
"pytest",
]
[tool.ruff]
select = ["E", "F", "I001"]
ignore = ["F722", "E731", "E741"]
include = ["mechanix", "tests", "examples"]
[tool.ruff.isort]
known-third-party = ["jax"]
combine-as-imports = true