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
- Updated CONTRIBUTING.md with setup and linting instructions
- Standardized formatting and import order across all modules
- Refactored robot classes (Jaka, ElephantRobotics, Dobot, Fanuc) for readability and consistency
- Improved error handling and validation logic
- Fixed trailing commas and cleaned up multi-line strings
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,3 +121,29 @@ Always test new motion commands on virtual or low-power modes first.
121
121
122
122
✅ **Docs:**
123
123
Update this guide or relevant docstrings if you change command interfaces. Additionally, when adding a new manufacturer integration, include links to relevant source documentation in in-line comments and/or the README inside the added manufacturer folder. This helps future contributors understand implementation details and reference official resources easily.
124
+
125
+
✅ **Linting and Code Quality:**
126
+
127
+
Please ensure your code adheres to the project's formatting and quality standards before submitting a pull request.
128
+
129
+
**Setup:**
130
+
131
+
```bash
132
+
python -m venv .venv
133
+
source .venv/bin/activate
134
+
pip install poetry
135
+
poetry install --with dev
136
+
```
137
+
138
+
**Formatting Code:**
139
+
140
+
To ensure consistency and code quality, run the following commands before submitting your changes:
141
+
142
+
```bash
143
+
poetry run black .&& \
144
+
poetry run isort .&& \
145
+
poetry run ruff format .&& \
146
+
poetry run mypy armctl
147
+
```
148
+
149
+
> All code must be properly formatted and pass type checks. Please resolve any issues reported by these tools prior to opening a pull request.
0 commit comments