-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (90 loc) · 3.56 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (90 loc) · 3.56 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[project]
name = "flashmd"
version = "0.2.9"
requires-python = ">=3.11"
readme = "README.md"
license = {text = "Apache-2.0"}
description = "Accelerated molecular dynamics with large-time-step predictions"
authors = [{name = "flashmd developers"}]
dependencies = [
"metatrain==2026.3.1",
"metatomic-ase",
"vesin>=0.5.4",
"nvalchemi-toolkit-ops==0.3.0", # tricks metatomic-ase into avoiding buggy vesin
"ase>=3.29.0", # thermalize_momenta replaces MaxwellBoltzmannDistribution
"huggingface_hub",
]
keywords = ["machine learning", "molecular modeling", "molecular dynamics"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
# TODO: add project URLs
[build-system]
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
"mypy",
]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "B", "I"]
ignore = ["B018", "B904", "E501"]
[tool.ruff.lint.per-file-ignores]
"**/{tests}/*" = ["D"]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["flashmd"]
[tool.ruff.format]
docstring-code-format = true
[tool.mypy]
follow_imports = 'skip'
ignore_missing_imports = true
disable_error_code = ["union-attr"]
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:custom data:UserWarning",
"ignore:`torch.jit.script` is deprecated:DeprecationWarning",
"ignore:`torch.jit.load` is deprecated:DeprecationWarning",
"ignore:`compute_requested_neighbors_from_options` is deprecated and will be removed in a future version:UserWarning",
"ignore:hf_xet\\.download_files\\(\\) is deprecated:DeprecationWarning",
"ignore:Due to '_pack_', the '.*' Structure will use memory layout compatible with MSVC:DeprecationWarning",
"ignore:warp.config.quiet is deprecated:DeprecationWarning",
"ignore:`torch.jit.script` is not supported:DeprecationWarning",
"ignore:`torch.jit.script_method` is not supported:DeprecationWarning",
"ignore:`torch.jit.script_method` is deprecated:DeprecationWarning",
"ignore:`torch.jit.load` is not supported:DeprecationWarning",
"ignore:The 'nvalchemiops.neighborlist' module has been renamed to 'nvalchemiops.neighbors':DeprecationWarning",
"ignore:From version 0.3.0 onwards, PyTorch is now an optional dependency:DeprecationWarning",
"ignore:currentThread\\(\\) is deprecated:DeprecationWarning",
"ignore::ResourceWarning",
"ignore:`torch.jit.interface` is deprecated:DeprecationWarning",
"ignore:`torch.jit.set_fusion_strategy` is deprecated:DeprecationWarning",
"ignore:the '.*' output name is deprecated:UserWarning",
"ignore:the '.*' quantity is deprecated:UserWarning",
"ignore:the '.*' quantity is deprecated:DeprecationWarning",
"ignore:ModelOutput.quantity is deprecated:DeprecationWarning",
"ignore:Setting the shape on a NumPy array has been deprecated in NumPy 2.5:DeprecationWarning",
]