Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify indent size, two in toml file #5271

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
146 changes: 73 additions & 73 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ authors = [
{name = "Takuya Akiba"}
]
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.7",
"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",
"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.7",
"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",
]
requires-python = ">=3.7"
dependencies = [
Expand All @@ -50,64 +50,64 @@ benchmark = [
"virtualenv"
]
checking = [
"black",
"blackdoc",
"flake8",
"isort",
"mypy",
"mypy_boto3_s3",
"types-PyYAML",
"types-redis",
"types-setuptools",
"types-tqdm",
"typing_extensions>=3.10.0.0",
"black",
"blackdoc",
"flake8",
"isort",
"mypy",
"mypy_boto3_s3",
"types-PyYAML",
"types-redis",
"types-setuptools",
"types-tqdm",
"typing_extensions>=3.10.0.0",
]
document = [
"ase",
"cmaes>=0.10.0", # optuna/samplers/_cmaes.py.
"fvcore",
"lightgbm",
"matplotlib!=3.6.0",
"pandas",
"pillow",
"plotly>=4.9.0", # optuna/visualization.
"scikit-learn",
"sphinx",
"sphinx-copybutton",
"sphinx-gallery",
"sphinx-plotly-directive",
"sphinx_rtd_theme>=1.2.0",
"torch",
"torchvision",
"ase",
"cmaes>=0.10.0", # optuna/samplers/_cmaes.py.
"fvcore",
"lightgbm",
"matplotlib!=3.6.0",
"pandas",
"pillow",
"plotly>=4.9.0", # optuna/visualization.
"scikit-learn",
"sphinx",
"sphinx-copybutton",
"sphinx-gallery",
"sphinx-plotly-directive",
"sphinx_rtd_theme>=1.2.0",
"torch",
"torchvision",
]
integration = [
"scikit-learn>=0.24.2",
"shap",
"tensorflow",
"scikit-learn>=0.24.2",
"shap",
"tensorflow",
]
optional = [
"boto3", # optuna/artifacts/_boto3.py.
"cmaes>=0.10.0", # optuna/samplers/_cmaes.py.
"google-cloud-storage", # optuna/artifacts/_gcs.py.
"matplotlib!=3.6.0", # optuna/visualization/matplotlib.
"pandas", # optuna/study.py.
"plotly>=4.9.0", # optuna/visualization.
"redis", # optuna/storages/redis.py.
"scikit-learn>=0.24.2",
# optuna/visualization/param_importances.py.
"scipy", # optuna/samplers/_gp
# TODO(contramundum53): Remove the constraint after torch supports python 3.12.
"torch; python_version<='3.11'", # optuna/samplers/_gp
"boto3", # optuna/artifacts/_boto3.py.
"cmaes>=0.10.0", # optuna/samplers/_cmaes.py.
"google-cloud-storage", # optuna/artifacts/_gcs.py.
"matplotlib!=3.6.0", # optuna/visualization/matplotlib.
"pandas", # optuna/study.py.
"plotly>=4.9.0", # optuna/visualization.
"redis", # optuna/storages/redis.py.
"scikit-learn>=0.24.2",
# optuna/visualization/param_importances.py.
"scipy", # optuna/samplers/_gp
# TODO(contramundum53): Remove the constraint after torch supports python 3.12.
"torch; python_version<='3.11'", # optuna/samplers/_gp
]
test = [
"coverage",
"fakeredis[lua]",
"kaleido",
"moto",
"pytest",
"scipy>=1.9.2; python_version>='3.8'",
# TODO(contramundum53): Remove the constraint after torch supports python 3.12.
"torch; python_version<='3.11'",
"coverage",
"fakeredis[lua]",
"kaleido",
"moto",
"pytest",
"scipy>=1.9.2; python_version>='3.8'",
# TODO(contramundum53): Remove the constraint after torch supports python 3.12.
"torch; python_version<='3.11'",
]

[project.urls]
Expand All @@ -127,18 +127,18 @@ version = {attr = "optuna.version.__version__"}

[tool.setuptools.package-data]
"optuna" = [
"storages/_rdb/alembic.ini",
"storages/_rdb/alembic/*.*",
"storages/_rdb/alembic/versions/*.*",
"py.typed",
"storages/_rdb/alembic.ini",
"storages/_rdb/alembic/*.*",
"storages/_rdb/alembic/versions/*.*",
"py.typed",
]

[tool.black]
line-length = 99
target-version = ['py38']
exclude = '''
/(
\.eggs
\.eggs
| \.git
| \.hg
| \.mypy_cache
Expand Down