From b9cd556b4580787b5f487e87fdb4fd409bb4d7dd Mon Sep 17 00:00:00 2001 From: 22sawada Date: Fri, 31 Jan 2025 13:57:18 +0900 Subject: [PATCH 1/2] update CONTRIBUTING.md --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e30f42b90..984b5f9e3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,10 +67,10 @@ $ black . $ isort . # flake8 type checking -$ flake8 tests optuna/integration +$ flake8 tests optuna_integration # mypy type checking -$ mypy tests optuna/integration +$ mypy tests optuna_integration ``` ### Documentation @@ -94,7 +94,7 @@ Please install some required packages at first. pip install ".[test]" # Install required packages on which integration modules depend. -pip install ".[all]" +pip install ".[allennlp, chainer, chainermn, botorch, catboost, cma, comet, dask, fastai, fastaiv2, keras, lightgbm, mlflow, mxnet, pytorch_distributed, pytorch_ignite, pytorch_lightning, shap, sklearn, skorch, tensorboard, tensorflow, tfkeras, wandb, xgboost]" ``` You can run your tests as follows: From f2dc1ce7eacac655a97d64beac9e95b9ea5c2e62 Mon Sep 17 00:00:00 2001 From: 22sawada Date: Fri, 31 Jan 2025 14:47:26 +0900 Subject: [PATCH 2/2] update CONTRIBUTING.md --- CONTRIBUTING.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 984b5f9e3..11d5a453e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -93,8 +93,11 @@ Please install some required packages at first. # Install required packages to test. pip install ".[test]" -# Install required packages on which integration modules depend. -pip install ".[allennlp, chainer, chainermn, botorch, catboost, cma, comet, dask, fastai, fastaiv2, keras, lightgbm, mlflow, mxnet, pytorch_distributed, pytorch_ignite, pytorch_lightning, shap, sklearn, skorch, tensorboard, tensorflow, tfkeras, wandb, xgboost]" +# Install required packages on which each integration module depends. +pip install ".[${INTEGRATION_MODULE_NAME}]" + +# For example, for optuna_integration/cma, +pip install ".[cma]" ``` You can run your tests as follows: