forked from mjo22/cryojax
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
65 lines (58 loc) · 1.68 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
[project]
name = "cryojax"
description = "Cryo-EM image simulation and analysis powered by JAX"
authors = [{ name = "Michael O'Brien", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
keywords = ["jax", "equinox", "cryo-EM", "electron-microscopy"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
urls = {repository = "https://github.com/mjo22/cryojax" }
dynamic = ["version"]
dependencies = [
"jax",
"jaxlib",
"equinox>=0.11.0",
"jaxtyping>=0.2.23",
"lineax",
"mrcfile",
"starfile",
"pandas",
"typing_extensions>=4.5.0",
"tqdm",
"gemmi",
]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/cryojax/cryojax_version.py"
[tool.ruff]
extend-include = ["*.ipynb"]
lint.fixable = ["I001", "F401"]
line-length = 90
lint.ignore = ["E402", "E721", "E731", "E741", "F722"]
lint.ignore-init-module-imports = true
lint.select = ["E", "F", "I001"]
src = ["src"]
[tool.ruff.lint.isort]
combine-as-imports = true
extra-standard-library = ["typing_extensions"]
lines-after-imports = 2
order-by-type = false
[tool.black]
line-length = 90
[tool.pyright]
reportIncompatibleMethodOverride = true
reportIncompatibleVariableOverride = false # Incompatible with eqx.AbstractVar
include = ["cryojax", "tests"]