-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
118 lines (99 loc) · 2.39 KB
/
pyproject.toml
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "hypergrid"
version = "0.0.1"
authors = [
{ name="Justin Yan", email="[email protected]" }
]
description = "Hypergrid enables concise declaration of parameter grids for hyperparameter optimization and batch jobs."
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
######
### Custom Dependencies Section Begin
######
######
### Custom Dependencies Section End
######
]
[project.urls]
"Homepage" = "https://github.com/justin-yan/hypergrid"
[dependency-groups]
dev = [
"pip",
"pytest>5",
"hypothesis>5",
"coverage>5",
"ruff>0.2.1",
"mypy>1.2"
]
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.package-data]
"hypergrid" = ["py.typed"]
[tool.setuptools.packages.find]
where = ["src"]
#######
### Miscellaneous Tool Configuration
#######
[tool.ruff]
line-length = 150
target-version = "py311"
[tool.ruff.format]
quote-style = "double"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.ruff.lint.isort]
known-first-party = ["hypergrid"]
[tool.pytest.ini_options]
addopts = "-ra -q --doctest-modules"
log_cli = true
log_cli_level = "WARN"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.mypy]
mypy_path = "src"
disallow_untyped_defs = true
disallow_any_unimported = true
allow_redefinition = false
ignore_errors = false
implicit_reexport = false
local_partial_types = true
no_implicit_optional = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
######
### Custom Directives Section Begin
######
[[tool.mypy.overrides]]
module = [
"sklearn.*",
]
ignore_errors = true
ignore_missing_imports = true
[project.optional-dependencies]
sklearn = [
"scikit-learn<2",
]
######
### Custom Directives Section End
######