-
Notifications
You must be signed in to change notification settings - Fork 188
/
pyproject.toml
74 lines (64 loc) · 1.45 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
66
67
68
69
70
71
72
73
74
# important: install in editable mode
[build-system]
requires = [
"hatchling>=1.20", # build backend
"hatch-requirements-txt", # plugin, to parse requirements.txt
]
build-backend = "hatchling.build"
[project]
name = "chai_lab"
description = "Chai Discovery tools for AI + protein research."
requires-python = ">=3.10"
authors = [{ name = "Chai Discovery" }]
# see both defined below
dynamic = ["version", "dependencies"]
[tool.hatch.version]
path = "chai_lab/__init__.py"
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.in"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.mypy]
check_untyped_defs = true
# Ignore missing imports for packages with missing type stubs
[[tool.mypy.overrides]]
module = [
"anarci.*",
"fsspec.*",
"google.*",
"joblib.*",
"needletail.*",
"numba.*",
"pyximport.*",
"rdkit.*",
"scipy.*",
"seaborn.*",
"sh.*",
"tmtools.*",
"botocore.*",
"s3fs.*",
"biotite.*",
"DockQ.*",
"boto3.*",
"transformers.*",
"modelcif.*",
"ihm.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
cache_dir = "/tmp/.common_pytest_cache"
[tool.hatch.build.targets.sdist]
exclude = [
"/.devcontainer",
"/.github",
"/.idea",
"/.vscode",
"/.pytest_cache",
"/assets",
"/downloads",
"/outputs",
]
[tool.hatch.build.targets.wheel]
# should use packages from sdist section
[project.scripts]
chai = "chai_lab.main:cli"