Overall guidance on contributing to a PyAnsys library appears in Contributing in the PyAnsys Developer’s Guide. Ensure that you are thoroughly familiar with this guide, paying particular attention to Coding Style before attempting to contribute to PyFluent-Parametric.
The following contribution information is specific to PyFluent-Parametric.
Clone the repository#
To clone and install the latest version of PyFluent-Parametric in development mode, run:
git clone https://github.com/pyansys/pyfluent-parametric.git cd pyfluent-parametric pip install pip -U pip install -e .
To build the PyFluent-Parametric documentation locally, in the root directory of the repository, run:
pip install -r requirements/requirements_doc.txt cd doc make html
After the build completes, the HTML documentation is located in the
_builds/html directory. You can load the
in this directory into a web browser.
You can clear all HTML files from the
_builds/html directory with:
Use the PyFluent-Parametric Issues page to submit questions, report bugs, and request new features.
Adhere to code style#
python -m pip install pre-commit pre-commit install
You can then use the
style rule defined in the
Or, you can directly run pre-commit with:
pre-commit run --all-files --show-diff-on-failure