-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
135 lines (113 loc) · 3.1 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[tool.poetry]
name = "moll"
version = "0.1.12"
description = ""
authors = ["Vsevolod Shegolev <[email protected]>"]
readme = "README.md"
license = "LGPL-2.1-or-later"
exclude = ["moll/**/tests/"]
repository = "https://github.com/vsheg/moll"
documentation = "https://vsheg.github.io/moll/"
keywords = ["chemistry", "cheminformatics", "chemoinformatics"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: GPU :: NVIDIA CUDA",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
loguru = "^0.7.2"
atpublic = "^4.0"
datamol = "^0.12.2"
[tool.poetry.group.cpu]
optional = true
[tool.poetry.group.cpu.dependencies]
jax = "^0.4.30"
[tool.poetry.group.cuda]
optional = true
[tool.poetry.group.cuda.dependencies]
jax = { version = "^0.4.30", extras = ["cuda12"] }
[tool.poetry.group.metal]
optional = true
[tool.poetry.group.metal.dependencies]
jax-metal = "^0.1.0"
jax = "^0.4.26"
jaxlib = "^0.4.26"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
tqdm = "^4.66.1"
seaborn = "^0.12.2"
pytest = "^7.3.2"
ipykernel = "^6.25.2"
ipython = "^8.15.0"
autopep8 = "^2.0.4"
pytest-xdist = "^3.3.1"
ipywidgets = "^8.1.1"
scikit-learn = "^1.3.2"
jupyter = "^1.0.0"
pytest-cov = "^4.1.0"
cloudpickle = "^3.0.0"
ruff = "^0.1.8"
pre-commit = "^3.6.0"
pyarrow = "^15.0.0"
papermill = "^2.5.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.5.3"
black = "^23.12.0"
mkdocstrings = { extras = ["python"], version = "^0.24.0" }
mkdocs-gen-files = "^0.5.0"
mkdocs-literate-nav = "^0.6.1"
mkdocs-section-index = "^0.3.8"
mkdocs-material = "^9.5.2"
mkdocs-minify-plugin = "^0.7.1"
mkdocs-jupyter = "^0.24.6"
[tool.pytest.ini_options]
testpaths = ["moll/"]
addopts = """
--doctest-modules \
--doctest-continue-on-failure \
-n auto
"""
[tool.ruff]
target-version = "py310"
extend-include = ["*.ipynb"]
format.docstring-code-format = true
line-length = 90
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
"TCH", # flake8-type-checking
"D", # flake8-docstrings
"D213", # start docstring on a second line
]
ignore = [
"D103", # missing docstring in public function
"D104", # missing docstring in public package
"D105", # missing docstring in magic method
"D200", # one-line docstring should fit on one line
"D202", # no blank lines allowed after function docstring
"D212", # start docstring on a first line
"E731", # do not assign a `lambda` expression, use a `def`
]
pydocstyle.convention = "google"
[tool.ruff.per-file-ignores]
"moll/**/test*" = ["D100"]
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"