-
Notifications
You must be signed in to change notification settings - Fork 51
/
pyproject.toml
124 lines (108 loc) · 3.28 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "datamol"
description = "A python library to work with molecules. Built on top of RDKit."
authors = [{ name = "Hadrien Mary", email = "[email protected]" }]
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.8"
license = { text = "Apache" }
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"tqdm",
"loguru",
"joblib",
"fsspec>=2021.9",
"pandas",
"numpy",
"scipy",
"matplotlib",
"pillow",
"selfies",
"platformdirs",
"scikit-learn",
"packaging",
"typing-extensions",
"importlib-resources",
"rdkit",
]
[project.urls]
Website = "https://datamol.io"
"Source Code" = "https://github.com/datamol-io/datamol"
"Bug Tracker" = "https://github.com/datamol-io/datamol/issues"
Documentation = "https://docs.datamol.io"
[tool.setuptools]
include-package-data = true
[tool.setuptools_scm]
fallback_version = "dev"
[tool.setuptools.packages.find]
where = ["."]
include = ["datamol", "datamol.*"]
exclude = []
namespaces = true
[tool.setuptools.package-data]
"datamol.data" = ["*"]
[tool.black]
line-length = 100
target-version = ['py39', 'py310']
include = '\.pyi?$'
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--verbose --cov=datamol --cov-fail-under=85 --cov-report xml --cov-report term --durations=10 -n auto"
testpaths = ["tests"]
filterwarnings = [
"ignore::DeprecationWarning:rdkit.Chem.MolStandardize",
"ignore::DeprecationWarning:jupyter_client",
"ignore::DeprecationWarning:pkg_resources",
"ignore::DeprecationWarning:joblib.externals.loky.backend",
"ignore::DeprecationWarning:dateutil.tz.tz",
"ignore::DeprecationWarning:joblib._utils",
"ignore::DeprecationWarning:openpyxl.packaging.core",
"ignore::DeprecationWarning:tqdm.std",
]
[tool.coverage.run]
source = ["datamol/"]
disable_warnings = ["no-data-collected"]
data_file = ".coverage/coverage"
[tool.coverage.report]
omit = ["datamol/__init__.py", "datamol/_version.py"]
[tool.coverage.xml]
output = "coverage.xml"
[tool.mypy]
exclude = []
ignore_missing_imports = true
[tool.pyright]
reportShadowedImports = false
[tool.ruff]
ignore = [
"E501", # Never enforce `E501` (line length violations).
"E731", # Do not assign a lambda expression, use a def
]
line-length = 110
target-version = "py311"
[tool.ruff.per-file-ignores]
"__init__.py" = [
"F401", # imported but unused
"E402", # Module level import not at top of file
]
[tool.ruff.pycodestyle]
max-doc-length = 150