-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (81 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (81 loc) · 1.76 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "confostate"
version = "0.1.0"
description = "Classify membrane protein structures into conformational states"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "ConfoState Contributors"}
]
dependencies = [
"pandas>=1.3.0",
"numpy>=1.21.0",
"scikit-learn>=1.2.0",
"MDAnalysis>=2.4.0",
"scipy>=1.7.0",
"requests",
"openai",
"pypaperretriever",
"pymupdf",
"joblib>=1.2.0",
]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
docs = [
"sphinx>=7.0",
"myst-parser>=2.0",
"furo>=2024.1.0",
"sphinx-copybutton>=0.5",
]
lint = [
"ruff>=0.9",
"pre-commit>=3.0",
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"sphinx>=7.0",
"myst-parser>=2.0",
"furo>=2024.1.0",
"sphinx-copybutton>=0.5",
"ruff>=0.9",
"pre-commit>=3.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["confostate*"]
[tool.setuptools.package-data]
confostate = ["data/**/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.coverage.run]
source = ["confostate"]
branch = true
# All code-style settings live here (ruff lint + format).
[tool.ruff]
line-length = 79
target-version = "py39"
include = ["*.py", "*.pyi"]
extend-exclude = [
"docs/_build",
"Plans",
]
[tool.ruff.lint]
# Flake8-compatible core rules (pycodestyle + pyflakes).
select = ["E", "F", "W"]
[tool.ruff.lint.per-file-ignores]
# Example scripts may adjust sys.path before importing the package.
"examples/*" = ["E402"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"