-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
94 lines (77 loc) · 2.25 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
[project]
name = "rnaglib"
readme = "README.md"
version="3.0.8"
authors=[{name="Vincent Mallet", email="[email protected]"},
{name="Carlos Oliver", email="[email protected]"},
{name="Jonathan Broadbent", email="[email protected]"},
{name="William L. Hamilton", email="[email protected]"},
{name="Jérome Waldispuhl", email="[email protected]"}
]
keywords = ["RNA", "3D", "graph neural network"]
description = "RNAglib: Tools for learning on the structure of RNA using 2.5D geometric representations"
requires-python = ">=3.7"
license = { text = "MIT License" }
dependencies = [
"biopython",
"dill",
"joblib",
"loguru",
"networkx",
"numpy",
"pydantic",
"rdkit",
"requests",
"scikit-learn",
"seaborn",
"torch",
"torchdata",
"tqdm",
"gemmi",
"bidict",
"rna-fm"
]
[project.urls]
"Documentation" = "https://rnaglib.readthedocs.io/en/latest/index.html"
"GitHub" = "https://github.com/cgoliver/rnaglib"
[project.scripts]
rnaglib_first = 'rnaglib.examples.rnaglib_first:main'
rnaglib_second = 'rnaglib.examples.rnaglib_second:main'
rnaglib_third = 'rnaglib.examples.third_example:main'
rnaglib_prepare_data = 'rnaglib.bin.rnaglib_prepare_data:main'
rnaglib_tokenize = 'rnaglib.bin.rnaglib_tokenize:main'
rnaglib_download = 'rnaglib.bin.rnaglib_download:main'
rnaglib_index = 'rnaglib.bin.rnaglib_index:main'
[tool.setuptools.package-data]
rnaglib = ["data_loading/graph_index_NR.json",
"config/rna_smiles.txt",
"tasks/data/*",
"tasks/RNA_Ligand/data/gmsm_dataset.csv",
"tasks/RNA_IF/data/das_split.pt",
"tasks/RNA_IF/data/gRNAde_metadata.csv",
"config/cache/modifications_cache.json"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.ruff]
target-version = "py312"
line-length = 120
show-fixes = true
[tool.ruff.format]
quote-style = "double" # Same as Black
indent-style = "space"
[tool.ruff.lint]
# Rules - targeting Pylint-like strictness
select = [
"ALL"
]
ignore = [
"ANN", # Type annotations - might be too strict if you're not fully typed
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pylint]
max-branches = 12
max-statements = 50
max-args = 5
max-locals = 15