-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
107 lines (97 loc) · 2.38 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
[build-system]
requires = ["setuptools >= 61.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "optunahub"
description = "OptunaHub"
readme = "README.md"
authors = [
{name = "Optuna team"}
]
requires-python = ">=3.8"
dependencies = [
"ga4mp",
"optuna",
"PyGithub>=1.59",
]
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT 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 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
checking = [
"pre-commit",
"mypy",
"ruff",
"types-toml",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
]
test = [
"coverage",
"pytest",
]
[project.urls]
homepage = "https://hub.optuna.org/"
repository = "https://github.com/optuna/optunahub"
documentation = "https://optuna.github.io/optunahub/"
bugtracker = "https://github.com/optuna/optunahub/issues"
[tool.setuptools.packages.find]
include = ["optunahub*"]
[tool.setuptools.dynamic]
version = {attr = "optunahub.version.__version__"}
[tool.setuptools.package-data]
"optunahub" = [
"py.typed",
]
[tool.ruff]
line-length = 99
[tool.ruff.lint]
extend-select = [
"I",
]
[tool.ruff.lint.isort]
known-third-party = ['optuna']
lines-after-imports = 2
force-single-line = true
force-sort-within-sections = true
order-by-type = false
[tool.mypy]
# Options configure mypy's strict mode.
warn_unused_configs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
strict_equality = true
extra_checks = true
no_implicit_reexport = true
ignore_missing_imports = true
explicit_package_bases = true
exclude = [
".venv",
"venv",
"build",
"work",
".*/.ipynb_checkpoints/.*",
]