-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
81 lines (70 loc) · 2.1 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
[tool.poetry]
name = "rgmining-fraudar"
version = "0.7.3"
description = "A wrapper of Fraudar algorithm for Review graph mining project"
license = "GPL-3.0-only"
authors = ["Junpei Kawamoto <[email protected]>"]
readme = "README.rst"
homepage = "https://rgmining.github.io/fraudar/"
repository = "https://github.com/rgmining/fraudar"
documentation = "https://rgmining.github.io/fraudar/"
keywords = ["review", "graph", "mining", "algorithm", "kdd", "fraudar"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Information Analysis"
]
packages = [
{ include = "fraudar" },
]
include = ["COPYING", "LICENSE-2.0"]
[tool.poetry.dependencies]
python = "<3.13,>=3.9"
numpy = "^1.25.2"
scikit-learn = "^1.3.0"
[tool.poetry.group.dev.dependencies]
bump2version = "^1.0.1"
pre-commit = "^3.7.0"
isort = "^5.10.1"
flake8 = "^7.0.0"
black = "^24.3.0"
pytest = "^8.1.1"
mypy = "^1.9.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.11.1"
tox = "^4.11.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2.6"
sphinx-rtd-theme = "^2.0.0"
sphinx-autobuild = "^2024.2.4"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ['py39']
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
src_paths = ["fraudar", "tests"]
[tool.mypy]
files = "fraudar/*.py,tests/**/*.py"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--cov=fraudar --cov-branch --cov-report=term-missing --cov-report=xml"
[tool.coverage.run]
omit = ["fraudar/export/*"]
[tool.coverage.report]
exclude_lines = ["\\.{3}"]