forked from yakew7/Fair-Code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (44 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
52 lines (44 loc) · 1.55 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "faircode"
version = "2.0.0"
description = "Diagnostic profiler that audits a tabular dataset for demographic representation."
readme = "README.md"
requires-python = ">=3.8"
license = { text = "MIT" }
authors = [{ name = "Yash Kewlani" }]
keywords = ["fairness", "bias", "dataset", "profiling", "demographics", "audit"]
dependencies = [
"pandas>=2.0",
"Pillow>=11.1",
"numpy>=1.24",
]
[project.optional-dependencies]
excel = ["openpyxl>=3.0"]
parquet = ["pyarrow>=10.0"]
proxy = ["scipy>=1.10"]
benchmark = ["scikit-learn>=1.8.0", "pyyaml>=6.0", "fairlearn>=0.14.0", "matplotlib>=3.10"]
mcp = ["mcp>=2.0"]
test = ["pytest>=8.0", "pytest-cov>=5.0"]
[project.urls]
Homepage = "https://github.com/yakew7/Fair-Code"
Website = "https://www.thefaircode.xyz"
[project.scripts]
faircode = "faircode.cli:main"
faircode-mcp = "faircode.mcp_server:main"
[tool.setuptools]
packages = ["faircode"]
[tool.setuptools.package-data]
faircode = ["SPEC.md", "MANIFEST_SPEC.md"]
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
# Real bugs only (unused imports, undefined names, redefinitions) - Pyflakes'
# full rule set. Deliberately narrower than ruff's own default (E4, E7, E9,
# F): E4 includes E402, which false-positives on tests/*.py's
# `pytest.importorskip(...)` then `from x import y` guard idiom (used in
# test_metrics.py, test_proxy.py, test_strategies.py, and elsewhere) -
# flagging that would be exactly the style churn this check should avoid.
select = ["F"]