========== Contribute ========== Overall guidance on contributing to a PyAnsys repository appears in `Contributing `_ in the *PyAnsys Developer's Guide*. Ensure that you are thoroughly familiar with this guide before attempting to contribute to PyAEDT or its toolkits. The following contribution information is specific to PyAEDT toolkits. Clone the repository -------------------- To clone and install the latest version of this toolkit in development mode, run: .. code:: git clone https://github.com/ansys/pyaedt-toolkits-antenna.git cd pyaedt-toolkits-antenna python -m pip install --upgrade pip pip install -e . Add new antennas ---------------- TBD Post issues ----------- Use the AEDT Antenna Toolkit `Issues `_ page to report bugs and request new features. View documentation ------------------- Documentation for the latest stable release is hosted at ``_. In the upper right corner of the documentation’s title bar, there is an option for switching from viewing the documentation for the latest stable release to viewing the documentation for the development version or previously released versions. Adhere to code style -------------------- PyAEDT toolkit is compliant with `PyAnsys code style `_. It uses the tool `pre-commit `_ to select the code style. You can install and activate this tool with: .. code:: bash pip install pre-commit pre-commit run --all-files You can also install this as a pre-commit hook with: .. code:: bash pre-commit install This way, it's not possible for you to push code that fails the style checks. For example:: $ pre-commit install $ git commit -am "Add my cool feature." black....................................................................Passed isort (python)...........................................................Passed flake8...................................................................Passed codespell................................................................Passed fix requirements.txt.....................................................Passed blacken-docs.............................................................Passed Maximum line length ~~~~~~~~~~~~~~~~~~~ Best practice is to keep the length at or below 120 characters for code and comments. Lines longer than this might not display properly on some terminals and tools or might be difficult to follow.