From d11cb5d54c788345518eb07ff9e1eac66eb3ce5c Mon Sep 17 00:00:00 2001 From: Kento Nozawa Date: Mon, 26 Feb 2024 14:34:49 +0900 Subject: [PATCH] Unify indent size, two (#5271) --- pyproject.toml | 146 ++++++++++++++++++++++++------------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 31c6be95a8..2050f73b45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ @@ -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] @@ -127,10 +127,10 @@ 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] @@ -138,7 +138,7 @@ line-length = 99 target-version = ['py38'] exclude = ''' /( - \.eggs + \.eggs | \.git | \.hg | \.mypy_cache