-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (94 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
108 lines (94 loc) · 1.97 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
105
106
107
108
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "losslab"
version = "0.1.0"
description = "Losses and tools for coordinate refinement"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "RS-Station" }
]
keywords = ["crystallography", "refinement", "machine-learning"]
classifiers = [
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"numpy>=1.24.0",
"torch>=2.0.0",
"gemmi>=0.6.0",
"mdtraj>=1.9.7",
"geomloss>=0.2.6",
"loguru>=0.7.0",
"scipy>=1.10.0",
"tqdm>=4.65.0",
"pyyaml>=6.0",
"SFcalculator-torch>=0.3.1",
]
[project.optional-dependencies]
tests = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-xdist>=3.0.0",
]
wandb = [
"wandb>=0.22.3",
]
CI = [
"ruff",
"pre-commit>=4.0.0",
"mypy>=1.20.1",
]
[project.urls]
Homepage = "https://github.com/rs-station/LossLab"
Repository = "https://github.com/rs-station/LossLab"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
exclude = ["test*"]
# --- Ruff Linting Configuration ---
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
[tool.ruff]
target-version = "py311"
line-length = 88
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"*.egg-info",
]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "C4", "SIM"]
ignore = []
[tool.ruff.lint.isort]
known-first-party = ["losslab"]
[tool.ruff.format]
preview = true
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"