-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (66 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
78 lines (66 loc) · 1.82 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "hashprep"
description = "A library for dataset quality checks, preprocessing, and report generation"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Aftaab Siddiqui (MaskedSyntax)", email = "aftaab@aftaab.xyz"}
]
dependencies = [
"click>=8.3.0",
"fuzzybunny",
"jinja2>=3.1.6",
"matplotlib>=3.10.6",
"numpy>=2.2.6",
"pandas>=2.3.2",
"pyyaml>=6.0.2",
"scikit-learn>=1.7.2",
"scipy>=1.15.3",
"seaborn>=0.13.2",
"fonttools>=4.60.2",
"tabulate>=0.9.0",
"weasyprint>=68.0",
]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = { attr = "hashprep.__version__" }
[project.urls]
Homepage = "https://github.com/cachevector/hashprep"
Repository = "https://github.com/cachevector/hashprep"
Documentation = "https://github.com/cachevector/hashprep"
Issues = "https://github.com/cachevector/hashprep/issues"
[tool.setuptools.packages.find]
include = ["hashprep*"]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"ruff>=0.8.0",
]
[project.scripts]
hashprep = "hashprep.interfaces.cli.main:cli"
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
"B905", # zip without strict (requires 3.10+)
"SIM102", # collapsible-if (elif + nested if is often more readable)
"SIM108", # ternary operator (readability preference)
"UP007", # Optional[X] -> X | None (keep for 3.10 compat)
]
[tool.ruff.lint.isort]
known-first-party = ["hashprep"]