If you are interested in contributing to Enchanter, your contributions will fall into two categories:
-
You want to propose a new feature and implement it. Post about your intended feature, and we shall discuss the design and implementation. Once we agree that the plan looks good, go ahead and implement it.
-
You want to implement a feature or bug-fix for an outstanding issue.
- Search for your issue here: https://github.com/khirotaka/enchanter/issues
- Pick an issue and comment on the task that you want to work on this feature.
- If you need more context on a particular issue, please ask and we shall provide.
To develop Enchanter on your machine.
-
Install Poetry
Enchanter uses Poetry and
pyproject.toml
to manage dependencies.
Please refer to the official documentation and install the appropriate one for your platform. -
Clone a copy of Enchanter from source:
git clone https://github.com/khirotaka/enchanter.git cd enchanter
- If you already have Enchanter from source, update it:
git pull --rebase git submodule sync --recursive git submodule update --init --recursive
and install Enchanter on develop mode.
poetry install # install enchanter poetry shell # activate virtual environment
Enchanter uses Google style for formatting docstrings.
To build the documentation
-
Build and install Enchanter
-
Install the requirements
cd docs/ pip install -r requirements.txt
-
Generate the documentation HTML files.
make html