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
- Do not comment on content for XML files or .matter content for clusters
4
-
- Assume the matter specification is unknown and out of scope. Do not make uninformed assumptions about the Matter specification, or its contents.
5
-
- Do not comment unless a change is probably desirable
4
+
- The SDK is implementing an in-progress matter specification that may not be available yet.
5
+
Assume the matter specification is unknown and out of scope. Do not make uninformed assumptions
6
+
about the Matter specification, or its contents.
7
+
- Do not comment unless a change is probably desirable
6
8
- Do not repeat yourself. Be concise without losing meaning
7
9
- Do not over-explain what you see in the code. Only describe code if there are specific questions or concerns (or if a question is asked)
8
10
- Ensure that extensions or fixes to existing code should match the prevailing style of the original code
9
11
- Look for common typos and suggest fixes
10
-
- The current year is 2025.
11
12
- Wrong years and years in the future are OK. Humans will catch these issues.
12
-
- Comments regarding issues about whitespace or code alignment are not needed. A code formatter will take care of these problems.
13
+
- The SDK uses automated code formatting. Do not comment on whitespace, line length or other formatting
14
+
or whitespace issues. A code formatter will handle this.
15
+
16
+
## Development guides
17
+
18
+
The SDK source code contains guides for development best practices in `docs/guides`, `docs/testing` and other `docs` locations.
19
+
Use these as a reference for finding common patterns and potential issues in new code. In particular:
20
+
-[docs/guides/writing_clusters](https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/writing_clusters.md) describes how cluster handling
Copy file name to clipboardExpand all lines: credentials/generate_revocation_set.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -864,7 +864,7 @@ def cli():
864
864
@optgroup.option('--use-test-net-dcld', type=str, default='', metavar='PATH', help="Location of `dcld` binary, to use `dcld` for mirroring TestNet.")
865
865
@optgroup.option('--use-main-net-http', is_flag=True, type=str, help="Use RESTful API with HTTPS against public MainNet observer.")
866
866
@optgroup.option('--use-test-net-http', is_flag=True, type=str, help="Use RESTful API with HTTPS against public TestNet observer.")
867
-
@optgroup.option('--use-local-data', is_flag=True, type=bool, help="Fake response directory: see \" DATA_DIR/",)
867
+
@optgroup.option('--use-local-data', is_flag=True, type=bool, help="Fake response directory: see \" DATA_DIR/")
868
868
@optgroup.group('Required arguments if use-local-data is used', cls=AllOptionGroup)
869
869
@optgroup.option('--certificates', type=click.File('rb'), multiple=True, help='Paths to PEM formated certificates (i.e. PAA) in DCL but missing from the revocation-points-response file.')
870
870
@optgroup.option('--crls', type=click.File('rb'), multiple=True, help='Paths to the crl der files')
0 commit comments