-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
109 lines (97 loc) · 2.88 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "safe-mol"
description = "Implementation of the 'Gotta be SAFE: a new framework for molecular design' paper"
dynamic = ["version"]
authors = [{ name = "Emmanuel Noutahi", email = "emmanuel.noutahi@gmail.com" }]
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
keywords = ["safe", "smiles", "de novo", "design", "molecules"]
dependencies = [
"tqdm",
"loguru",
"typer",
"universal_pathlib",
"datamol",
"numpy",
"torch>=2.0",
"transformers",
"datasets",
"tokenizers",
"accelerate",
"evaluate",
"wandb",
"huggingface-hub",
"rdkit"
]
[project.urls]
"Source Code" = "https://github.com/datamol-io/safe"
"Bug Tracker" = "https://github.com/datamol-io/safe/issues"
Documentation = "https://safe-docs.datamol.io/"
[project.scripts]
safe-train = "safe.trainer.cli:main"
[tool.setuptools]
include-package-data = true
zip-safe = false
license-files = ["LICENSE"]
[tool.setuptools_scm]
fallback_version = "dev"
[tool.setuptools.packages.find]
where = ["."]
include = ["safe", "safe.*"]
exclude = []
namespaces = true
[tool.black]
line-length = 100
target-version = ['py310', 'py311']
include = '\.pyi?$'
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--verbose --color yes"
testpaths = ["tests"]
[tool.ruff]
line-length = 120
# Enable Pyflakes `E` and `F` codes by default.
lint.select = [
"E",
"W", # see: https://pypi.org/project/pycodestyle
"F", # see: https://pypi.org/project/pyflakes
]
lint.extend-select = [
"C4", # see: https://pypi.org/project/flake8-comprehensions
"SIM", # see: https://pypi.org/project/flake8-simplify
"RET", # see: https://pypi.org/project/flake8-return
"PT", # see: https://pypi.org/project/flake8-pytest-style
]
lint.ignore = [
"E731", # Do not assign a lambda expression, use a def
"S108",
"F401",
"S105",
"E501",
"E722",
]
# Exclude a variety of commonly ignored directories.
exclude = [".git", "docs", "_notebooks"]
lint.ignore-init-module-imports = true