-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (86 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
96 lines (86 loc) · 2.19 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
[tool.poetry]
name = "graphconstructor"
version = "0.3.0"
description = "Python library for graph construction from similarity or distance metrics"
authors = ["Florian Huber <florian.huber@hs-duesseldorf.de>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/matchms/graphconstructor"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
numba = ">=0.61.2"
numpy = ">=2.0.0"
networkx = ">3.4.0"
pandas = ">=2.1.1"
scipy= ">=1.14.0"
matplotlib= ">=3.8.0"
[tool.poetry.group.dev.dependencies]
decorator = "^5.1.1"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
yapf = "^0.40.1"
testfixtures = "^7.1.0"
twine = "^6.1.0"
poetry-bumpversion = "^0.3.1"
pre-commit = "^4.2.0"
ruff = "^0.11.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
output-format = "grouped"
[tool.ruff.format]
docstring-code-format = true
line-ending = "lf"
[tool.ruff.lint]
# TODO: add some rules in future, eg. W291/292
extend-select = ["D", "E", "I"]
# TODO: some of these rules should be enforced in the future, eg. E713
ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D200",
"D201",
"D202",
"D203",
"D204",
"D205",
"D209",
"D210",
"D212",
"D213",
"D4",
"E713"
]
[tool.ruff.lint.isort]
known-first-party = ["graphconstructor"]
lines-after-imports = 2
no-lines-before = ["future", "standard-library", "third-party", "first-party", "local-folder"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
# disable pydoc for tests
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D"]
[tool.pytest.ini_options]
testpaths = [
"tests",
"integration-tests",
]