Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ Thank you for your interest in contributing to [PyAML]! This document outlines h
### 3. Submitting Changes
- **Fork & Branch:** Fork the repo and create a branch for your changes.
- **Commits:** Write clear, atomic commit messages. Reference the issue number if applicable.
- **Formatting:** Ensure your code adheres to the project’s style guidelines. Run tests locally before submitting. It is recommended to use `pre-commit` hooks for this purpose.
Sometimes pre-commit hook will block you committing due to formatting issues. They may be fixed automatically or require manual intervention. If they are fixed automatically just re-stage the files and commit again.
If manual intervention is required, please follow the instructions provided by the pre-commit tool.
- **Pull Requests (PRs):**
- Open a PR against the `main` branch.
- Include a description of your changes and reference the relevant issue.
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ Disclaimer: the pyAML software is still under development.
cd pyaml
pip install -e .
```
4. If you want to try the examples using the TANGO bindings you also need [tango-pyaml](https://github.com/python-accelerator-middle-layer/tango-pyaml).

4. For developers: install the development dependencies and pre-commit hooks

```
pip install -e .[dev]
pre-commit install
```
5. If you want to try the examples using the TANGO bindings you also need [tango-pyaml](https://github.com/python-accelerator-middle-layer/tango-pyaml).
Clone that repository and install the package inside the same virtual environment as the `pyaml` package.
tango-pyaml will automatically install pyaml, so step 3 can be skipped.
5. For tests, you may want to install dummy-cs/tango available in
6. For tests, you may want to install dummy-cs/tango available in
tests/dummy-cs/tango

#### Documentation
Expand Down
Loading