-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (67 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (67 loc) · 1.6 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
[project]
name = "greenrisk"
version = "0.2.0"
description = "Explainable-by-construction greenwashing-risk scoring for climate disclosures"
authors = [
{ name = "Isaac D'Césares", email = "isaac.dcesares@ufrj.br" }
]
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.12"
dependencies = [
"lxml>=5.0.0",
"networkx>=3.6.1",
"numpy>=2.3.0",
"prov>=2.1.1",
"rdflib>=7.6.0",
"scikit-fuzzy>=0.5.0",
"scipy>=1.17.1",
]
[project.optional-dependencies]
models = [
"huggingface-hub>=1.13.0",
"torch>=2.11.0",
"transformers>=5.7.0",
]
research = [
"datasets>=4.8.5",
"graphviz>=0.21",
"jupyterlab>=4.5.7",
"matplotlib>=3.11.0",
"networkx>=3.6.1",
"pandas>=3.0.0",
"prov>=2.1.1",
"pydot>=4.0.1",
"scikit-fuzzy>=0.5.0",
"scipy>=1.17.1",
"torch>=2.11.0",
"transformers>=5.7.0",
]
[project.scripts]
greenrisk = "greenrisk.cli:main"
[project.urls]
Homepage = "https://github.com/idcesares/GreenRisk"
Repository = "https://github.com/idcesares/GreenRisk"
Documentation = "https://github.com/idcesares/GreenRisk/tree/master/docs"
[build-system]
requires = ["setuptools>=80"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"build>=1.3.0",
"pytest>=9.0.0",
"ruff>=0.13.0",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["*_test_*.py", "test_*.py"]
markers = [
"model: downloads and executes pinned ClimateBERT models",
]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "B"]