-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (107 loc) · 3.13 KB
/
pyproject.toml
File metadata and controls
124 lines (107 loc) · 3.13 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "eFilter"
dynamic = ["version"]
maintainers = [{ name = "Adam Bess", email = "bess@deepdrug.ai" }]
description = 'Filter synthesized molecules by properties, pathways and predicted targets.'
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
keywords = [
"molecule",
"physical properties",
"pathway prediction",
"classification",
"target prediction",
"bioinformatics",
]
authors = [
{ name = "bessx", email = "1159066+bessx@users.noreply.github.com" },
{ name = "Adam Bess", email = "bess@deepdrug.ai" },
{ name = "Chris Alvin", email = "calvin@deepdrug.ai" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"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",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"numpy<2",
"pandas",
"matplotlib",
"scikit-learn",
"rdkit",
"colorlog",
"pytest",
"tensorflow",
"xgboost",
"pydot==1.4.2",
"graphviz",
"tqdm",
"openbabel-wheel>=3.1.1.22",
]
[project.optional-dependencies]
dev = ["pytest", "pytest-cov"]
types = ["pyright"]
[project.urls]
Documentation = "https://github.com/deepdrugai/efilter#readme"
Issues = "https://github.com/deepdrugai/efilter/issues"
Source = "https://github.com/deepdrugai/efilter"
[tool.hatch.version]
path = "src/efilter/__about__.py"
[tool.hatch.envs.dev]
dependencies = ["pytest", "pytest-cov", "pyright"]
[tool.hatch.envs.dev.scripts]
typ = "pyright"
types = "pyright --stats"
typesskip = "pyright --stats --skipunannotated"
[tool.pyright]
include = ["src/efilter", "tests"]
typeCheckingMode = "basic"
reportAttributeAccessIssue = false # weird issues
useLibraryCodeForTypes = true
reportMissingTypeStubs = false
reportMissingImports = false
[tool.coverage.run]
source_pkgs = ["efilter", "tests"]
branch = true
parallel = true
omit = ["src/efilter/__about__.py"]
[tool.coverage.paths]
efilter = ["src/efilter", "*/eFilter/src/efilter"]
tests = ["tests", "*/efilter/tests"]
[tool.coverage.report]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]
[project.scripts]
efilter = "efilter.eFilter:main"
[tool.ruff]
line-length = 142
[tool.ruff.lint]
ignore = ["N", "SLF", "F541", "BLE001", "EM", "TRY0", "FBT", "PLR2004", "T20"]
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.hatch.build.targets.wheel]
packages = ["src/efilter"]
exclude = ["**/__pycache__", "**/*.pyc"]
# [tool.hatch.build]
# include = ["src/efilter"]
# Fix dynamic vs static import issues (efilter.* vs eFilter.src.efilter.*)
# [tool.hatch.build]
# source = "src"
# packages = [{ include = "efilter", from = "src" }]