Propulate is an asynchronous population-based optimization algorithm and software package for global optimization and hyperparameter search on high-performance computers.
This PR enables functional pre-commit hooks as specified in .pre-commit-config.yaml and pyproject.toml. Furthermore, all information to install Propulate as a Python package with pip has been moved to pyproject.toml, which is why setup.py and setup.cfg have been removed. This is the currently recommended way for specifying configurations used by packaging tools, linters, etc.
In addition, the following things have been changed / fixed:
Update docstrings to fix all ruff warnings and errors caused by running the pre-commit hooks.
Add GPy to project requirements in requirements.txt and pyproject.toml to enable surrogate modeling.
Add dev dependencies in pyproject.toml to be installed via pip install -e .[dev]. These include dependencies required for pre-commit hooks and building the docs with Sphinx.
This PR enables functional pre-commit hooks as specified in
.pre-commit-config.yaml
andpyproject.toml
. Furthermore, all information to install Propulate as a Python package withpip
has been moved topyproject.toml
, which is whysetup.py
andsetup.cfg
have been removed. This is the currently recommended way for specifying configurations used by packaging tools, linters, etc.In addition, the following things have been changed / fixed:
ruff
warnings and errors caused by running the pre-commit hooks.GPy
to project requirements inrequirements.txt
andpyproject.toml
to enable surrogate modeling.dev
dependencies inpyproject.toml
to be installed viapip install -e .[dev]
. These include dependencies required for pre-commit hooks and building the docs with Sphinx.Closes #111