-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (74 loc) · 2.08 KB
/
pyproject.toml
File metadata and controls
82 lines (74 loc) · 2.08 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "rankcal"
version = "0.2.0"
description = "Calibration and uncertainty quantification for ranking systems"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
{name = "John Hodge"}
]
keywords = [
"machine-learning",
"calibration",
"ranking",
"uncertainty-quantification",
"pytorch",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.0.0",
"numpy>=1.21.0",
"matplotlib>=3.5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
docs = [
"mkdocs-material>=9.0.0",
"mkdocstrings[python]>=0.24.0",
]
[project.urls]
Homepage = "https://github.com/jman4162/rankcal"
Repository = "https://github.com/jman4162/rankcal"
Documentation = "https://jman4162.github.io/rankcal/"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = [
"E501", # Line too long
"UP006", # Use `tuple` instead of `Tuple` - need Tuple for Python 3.9 compat
"UP035", # typing.Tuple is deprecated - need for Python 3.9 compat
"UP037", # Remove quotes from type annotation - need for forward refs
"UP045", # Use X | None - need Optional for Python 3.9 compat
"N812", # Lowercase `functional` imported as non-lowercase `F` - PyTorch convention
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v"
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true