ansys / pymechanical-examples

Repository holding PyMechanical remote examples
https://examples.mechanical.docs.pyansys.com/
MIT License
1 stars 1 forks source link

pymechanical-examples

Repository holding pymechanical remote examples

Code Style

Code style can be checked by running:

.. code-block:: text

tox -e style

Previous command will run pre-commit_ for checking code quality.

Documentation

Documentation can be rendered by running:

.. code-block:: text

tox -e doc

The resultant HTML files can be inspected using your favorite web browser:

.. code-block:: text

<browser> .tox/doc_out_html/index.html

Previous will open the rendered documentation in the desired browser.

.. LINKS AND REFERENCES .. _black: https://github.com/psf/black .. _flake8: https://flake8.pycqa.org/en/latest/ .. _isort: https://github.com/PyCQA/isort .. _PyAnsys Developer's guide: https://dev.docs.pyansys.com/ .. _pre-commit: https://pre-commit.com/ .. _pytest: https://docs.pytest.org/en/stable/ .. _Sphinx: https://www.sphinx-doc.org/en/master/ .. _pip: https://pypi.org/project/pip/ .. _tox: https://tox.wiki/ .. _venv: https://docs.python.org/3/library/venv.html