-
Notifications
You must be signed in to change notification settings - Fork 33
/
pyproject.toml
87 lines (77 loc) · 1.69 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
[build-system]
requires = ["setuptools >= 61.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "optunahub-registry"
description = "Registry for OptunaHub"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "Optuna team"}
]
requires-python = ">=3.8"
dependencies = [
"mdutils",
"python-frontmatter",
]
dynamic = ["version"]
[project.optional-dependencies]
checking = [
"pre-commit",
"ruff==0.3.5",
"mdformat",
"mdformat-frontmatter",
"mypy==1.9.0",
"types-PyYAML",
]
docs = [
"plotly",
"sphinx",
"sphinx_rtd_theme",
"sphinx-gallery",
"matplotlib",
"optuna",
"optunahub",
]
[project.urls]
homepage = "https://hub.optuna.org/"
repository = "https://github.com/optuna/optunahub-registry"
documentation = "https://optuna.github.io/optunahub-registry/"
bugtracker = "https://github.com/optuna/optunahub-registry/issues"
[tool.setuptools.packages.find]
include = ["package*"]
[tool.setuptools.dynamic]
version = {attr = "version.__version__"}
[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/.*",
]