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: README.md
+63-43Lines changed: 63 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,9 @@
2
2
3
3
For the first time, the Beaglebone board should be prepared. Please refer to the section [Preparing Beaglebone Blue Board](#Preparing-Beaglebone-Blue-Board).
Consistent code style and static code analysis are essential for maintaining high-quality software:
63
+
-**Code Readability**: Consistent style makes code easier to read and understand for all team members
64
+
-**Error Prevention**: Static analysis helps identify potential bugs, memory leaks, and undefined behavior before runtime
65
+
-**Maintainability**: Standardized code is easier to maintain and extend over time
66
+
-**Collaboration**: Unified coding conventions improve team collaboration and onboarding process
67
+
68
+
### Standards
69
+
This project follows the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html), which provides comprehensive guidelines for C++ coding conventions.
70
+
71
+
### Continuous Integration
72
+
GitHub CI is configured to automatically verify code style and perform static analysis on each Pull Request. PRs failing these checks cannot be merged until issues are resolved, ensuring code quality standards are maintained throughout the development process.
73
+
74
+
### Local Verification
75
+
To check code style and run static analysis locally before committing:
76
+
```bash
77
+
./check_cs.sh
78
+
```
79
+
This script will identify any style violations or potential issues in your code, allowing you to fix them before pushing your changes.
0 commit comments