-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (61 loc) · 1.42 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
[tool.poetry]
name = "receiptanalysis"
version = "0.1.0"
description = "Project for a receipt analysis of a dataset from kaggle"
authors = ["Jiří Valášek <jirka@example.com>"]
readme = "README.md"
packages = [{include = "src"}]
[tool.poetry.scripts]
preprocessing = "src.1_preprocessing:run"
clustering = "src.2_clustering:run"
associative_rules = "src.3_associative_rules:run"
[tool.poetry.dependencies]
python = "~3.11"
tqdm = "^4.65.0"
numpy = "^1.24.2"
cupy-cuda12x = "^12.0.0"
scipy = "^1.10.1"
scikit-learn = "^1.2.2"
matplotlib = "^3.7.1"
apyori = "^1.1.2"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
mypy = "^1.1.1"
pylint = "^2.17.1"
pydocstyle = "^6.3.0"
bandit = "^1.7.5"
flake8 = "^6.0.0"
[tool.black]
line-length = 119
[tool.mypy]
python_version = "3.11"
disallow_untyped_defs = true
show_error_codes = true
no_implicit_optional = true
warn_return_any = true
warn_unused_ignores = true
exclude = ["scripts", "docs", "test"]
[tool.bandit]
exclude_dirs = ["tests", "data"]
[tool.flake8]
max-line-length = 119
count = true
[tool.pylint.format]
max-line-length = 119
max-module-lines = 1000
disable = [
"missing-docstring",
"unused-argument",
"no-value-for-parameter",
"no-member",
"no-else-return",
"bad-whitespace",
"bad-continuation",
"line-too-long",
"fixme",
"protected-access",
"too-few-public-methods",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"