You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,9 @@ Thank you for your interest in contributing to [PyAML]! This document outlines h
17
17
### 3. Submitting Changes
18
18
-**Fork & Branch:** Fork the repo and create a branch for your changes.
19
19
-**Commits:** Write clear, atomic commit messages. Reference the issue number if applicable.
20
+
-**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.
21
+
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.
22
+
If manual intervention is required, please follow the instructions provided by the pre-commit tool.
20
23
-**Pull Requests (PRs):**
21
24
- Open a PR against the `main` branch.
22
25
- Include a description of your changes and reference the relevant issue.
Copy file name to clipboardExpand all lines: README.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,17 @@ Disclaimer: the pyAML software is still under development.
15
15
cd pyaml
16
16
pip install -e .
17
17
```
18
-
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).
18
+
19
+
4. For developers: install the development dependencies and pre-commit hooks
20
+
21
+
```
22
+
pip install -e .[dev]
23
+
pre-commit install
24
+
```
25
+
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).
19
26
Clone that repository and install the package inside the same virtual environment as the `pyaml` package.
20
27
tango-pyaml will automatically install pyaml, so step 3 can be skipped.
21
-
5. For tests, you may want to install dummy-cs/tango available in
28
+
6. For tests, you may want to install dummy-cs/tango available in
0 commit comments