-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpyproject.toml
89 lines (81 loc) · 2.3 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "linkpred"
authors = [{name = "Raf Guns", email = "[email protected]"}]
readme = "README.rst"
dynamic = ["version", "description"]
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Operating System :: OS Independent",
]
requires-python=">=3.8"
dependencies = [
"matplotlib>=3.5",
"networkx>=3.0",
"numpy>=1.23",
"pyyaml>=3.0",
"scipy>=1.10",
"smokesignal>=0.7",
]
[project.scripts]
linkpred = "linkpred.cli:main"
[project.optional-dependencies]
dev = ["pytest >=7.1", "pytest-cov", "tox>=4.4"]
community = ["python-louvain"]
all = ["pytest >=7.1", "pytest-cov", "tox>=4.4", "python-louvain"]
[project.urls]
Home = "https://github.com/rafguns/linkpred/"
[tool.flit.module]
name = "linkpred"
[tool.ruff]
target-version = "py38"
# See https://beta.ruff.rs/docs/rules/
select = [
"A", # builtin shadowing
"ARG", # unsued arguments
"B", # bugbear
"C4", # comprehensions
"C90", # mccabe complexity
"E", # style errors
"EM", # error messages
"F", # flakes
"FBT", # boolean trap
"G", # logging format
"I", # import sorting
"ISC", # string concatenation
"N", # naming
"PGH", # pygrep-hooks
"PIE", # miscellaneous
"PL", # pylint
"PT", # pytest style
"Q", # quotes
"RET", # return
"RSE", # raise
"RUF", # Ruff
"SIM", # simplify
"T20", # print
"UP", # upgrade
"W", # style warnings
"YTT", # sys.version
]
ignore = [
"N803", # Argument name `G` should be lowercase
"N806", # "Variable `G` in function should be lowercase"
"PLR0913", # Too many arguments to function call
]
[tool.ruff.per-file-ignores]
# Ignore unused imports in __init__.py
"__init__.py" = ["F401", "F403"]