-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (85 loc) · 2.28 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (85 loc) · 2.28 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
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "radar-evaluator"
version = "0.1.0"
description = "A professional, extensible framework for evaluating LLMs across industries using radar charts and custom metrics"
authors = [
{name = "Julien Simon", email = "julien@example.com"}
]
license = {text = "CC-BY-4.0"}
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Creative Commons License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"together>=0.2.0",
"numpy>=1.21.0",
"pandas>=1.3.0",
"matplotlib>=3.6.0",
"tqdm>=4.62.0",
"pathlib2>=2.3.0; python_version < \"3.4\"",
]
[project.optional-dependencies]
dev = [
"black",
"flake8",
"mypy",
"pytest",
"pytest-cov",
"pandas-stubs",
"types-tqdm",
]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\\.pyi?$'
extend-exclude = '''
/(\.eggs|\.git|\.hg|\.mypy_cache|\.tox|\.venv|build|dist)/
'''
[tool.flake8]
max-line-length = 120
extend-ignore = ["E203", "W503", "E501"]
[tool.mypy]
python_version = "3.9"
exclude = [
"/site-packages/",
"tests/",
"scripts/",
"build/",
"dist/",
".*egg-info/",
"env/",
]
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
disallow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = false
warn_no_return = true
warn_unreachable = true
strict_equality = true
explicit_package_bases = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--cov=radar_evaluator --cov-report=term-missing --cov-report=xml --cov-report=html --cov-fail-under=35"