-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (92 loc) · 2.26 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (92 loc) · 2.26 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
[project]
name = "gdap"
description = "gdap predicts gene-disease associations using graph embeddings and machine learning, integrating STRING-DB and Open Targets data."
readme = "README.md"
# dynamic = ["version"]
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
"csrgraph==0.1.28",
"db-dtypes==1.3.0",
"gensim==4.3.3",
"google-cloud-bigquery==3.25.0",
"joblib==1.4.2",
"matplotlib==3.9.2",
"networkx==2.5.1",
"numba==0.60.0",
"numpy<2.0",
"pandas==2.2.3",
"protobuf==3.20.3",
"python-dotenv==1.0.1",
"pyvis==0.3.2",
"types-requests>=2.32.4.20250611",
"scikit-learn==1.5.2",
"scipy<1.14.0",
"seaborn==0.13.2",
"st-pages==1.0.1",
"stqdm==0.0.5",
"streamlit==1.39.0",
"tensorflow==2.17.0",
"tqdm==4.66.5",
"ipykernel>=6.29.5",
]
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
dev = [
"ipython",
"mypy",
"pre-commit",
"pytest",
"pytest-coverage",
"ruff",
"ipykernel>=6.29.5",
]
[tool.ruff]
exclude = [".venv/"]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = [
# Annotations: Enforce type annotations
"ANN",
# Complexity: Enforce a maximum cyclomatic complexity
"C90",
# Pydocstyle: Enforce docstrings
"D",
# Pyflakes.
"F",
# Isort: Enforce import order
"I",
# Numpy: Enforce numpy style
"NPY",
# Print: Forbid print statements
"T20",
]
ignore = [
# Allow self and cls to be untyped, and allow Any type
"ANN101", "ANN102", "ANN401",
# Pydocstyle ignores
"D100", "D101", "D104", "D203", "D212", "D401",
# Allow use of f-strings in logging
"G004"
]
[tool.pydoclint]
style = "sphinx"
exclude = "test_"
allow-init-docstring = true
arg-type-hints-in-docstring = false
check-return-types = false
require-return-section-when-returning-nothing = false
[tool.mypy]
python_version = "3.11"
warn_unused_configs = true
ignore_missing_imports = true
[tool.setuptools]
packages = ["gdap"]
package-dir = {"" = "src"}
[tool.setuptools_scm]
# can be empty if no extra settings are needed, presence enables setuptools_scm
[tool.setuptools.dynamic]
version = {attr = "gdap.version.__version__"}