Contributing#

PyScadeOne is part of the Scade One product, and is developed by its R&D team.

Contributing to PyScadeOne is welcomed and can be in the form of discussions, code, documentation, or issue reports

Overall guidance on contributing to a PyAnsys library appears in the Contributing topic in the PyAnsys Developer’s Guide. Ensure that you are thoroughly familiar with it and all style guidelines before attempting to contribute to PyScadeOne.

The following contribution information is specific to PyScadeOne.

PyScadeOne documentation#

Documentation for the latest stable release of PyScadeOne is hosted at PyScadeOne Documentation.

This version is automatically kept up to date via GitHub actions.

Posting Issues#

Use the PyScadeOne Issues page to submit questions, report bugs, and request new features. When possible, use one of the existing templates

To reach the project support team, email pyansys.core@ansys.com.

Discussions#

Use the PyScadeOne Discussions page to ask questions, share ideas, and connect with other users.

Contributing code#

Note

As PyScadeOne is a component of the Scade One product, the development team is responsible for the code. Any contribution is analyzed and possibly integrated by the development team.

Getting the source code#

Run this code to clone and install the latest version of PyScadeOne in development mode:

git clone https://github.com/ansys/pyscadeone
cd pyscadeone
pip install pip -U
pip install -e .

Code style#

PyScadeOne follows PEP8 standard as outlined in the PyAnsys Development Guide.

Testing#

PyScadeOne uses pytest. In the main directory use:

pytest

Tests are in tests folder. Please add your own tests for non-regression.