-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
72 lines (64 loc) · 1.54 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
[tool.poetry]
name = "logic-network-generator"
version = "0.1.0"
description = "Generator of pairwise interaction files from Reactome Graph database"
authors = ["Adam Wright <adam.wright@wormbase.org>"]
license = "Apache 2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
py2neo = "^2021.2.4"
pandas = "^2.2.0"
numpy = "^1.26.3"
pyarrow = "^17.0.0"
scipy = "^1.12.0"
mypy = "^1.8.0"
isort = "^5.13.2"
click = "^8.1.7"
python-dotenv = "^1.2.2"
networkx = "^3.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.8.0"
pandas-stubs = "^2.1.4.231227"
isort = "^5.10.3"
ruff = "^0.3.4"
pre-commit = "^3.7.0"
pytest = "^9.0.3"
pytest-cov = "^7.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.flake8]
ignore = ""
plugins = ["flake8-mypy"]
[tool.black]
line-length = 88 # Adjust line length as needed
target-version = ['py39']
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--verbose",
"--strict-markers",
]
markers = [
"database: tests that require a live Neo4j connection (excluded from CI)",
"integration: tests that require artifacts from a prior pathway generation run in output/ (excluded from CI)",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]