-
-
Notifications
You must be signed in to change notification settings - Fork 91
/
pyproject.toml
121 lines (106 loc) · 2.54 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
119
120
121
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "optuna-dashboard"
description = "Real-time dashboard for Optuna"
readme = "README.md"
authors = [
{ name = "Masashi Shibata", "email" = "[email protected]" }
]
requires-python = ">=3.8"
license = {text = "MIT License"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Science/Research",
]
dependencies = [
"bottle>=0.13.0",
"optuna>=3.1.0",
"packaging",
"scikit-learn",
]
dynamic = ["version"]
[project.optional-dependencies]
docs = [
"boto3",
"botorch",
"streamlit",
"sphinx",
"sphinx_rtd_theme",
]
test = [
"coverage",
"plotly",
"pytest",
"moto[s3]",
]
optional = [
"streamlit",
"boto3",
"botorch>=0.8.1; python_version>='3.8'",
]
preferential = [
"botorch>=0.8.1",
]
plotlypy = [
"plotly",
]
[project.scripts]
optuna-dashboard = "optuna_dashboard._cli:main"
[tool.setuptools.dynamic]
version = {attr = "optuna_dashboard.__version__"}
[tool.setuptools]
include-package-data = false
package-data = { "optuna_dashboard" = ["public/*", "img/*", "index.html"] }
[tool.setuptools.packages.find]
include = ["optuna_dashboard*"]
exclude = ["optuna_dashboard.node_modules*", "optuna_dashboard.ts*"]
[project.urls]
"Homepage" = "https://github.com/optuna/optuna-dashboard"
"Sources" = "https://github.com/optuna/optuna-dashboard"
"Bug Tracker" = "https://github.com/optuna/optuna-dashboard/issues"
[tool.black]
line-length = 99
target-version = ['py38']
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.venv
| _build
| build
| dist
| venv
| node_modules
)/
'''
[tool.isort]
profile = 'black'
src_paths = ['optuna', 'python_tests', 'docs']
skip_glob = ['docs/conf.py']
line_length = 99
lines_after_imports = 2
force_single_line = 'True'
force_sort_within_sections = 'True'
order_by_type = 'False'
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--color=yes"
markers = [
"slow: marks tests as slow",
]