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
| T20 | No `print()` in production code (excluded for examples and tests) |
79
+
| RUF | Ruff-specific rules |
80
+
81
+
### MicroPython-specific exceptions
82
+
83
+
Some rules are ignored because MicroPython does not support the corresponding Python features:
84
+
85
+
| Ignored rule | Reason |
86
+
|--------------|--------|
87
+
| SIM105 |`contextlib.suppress` is not available in MicroPython |
88
+
| PIE810 | MicroPython does not support passing tuples to `.startswith()` / `.endswith()`|
89
+
| SIM101 |`isinstance()` with merged tuple arguments is unreliable in MicroPython |
90
+
61
91
## Commit messages
62
92
63
93
Commit messages follow the [Conventional Commits](https://www.conventionalcommits.org/) format, enforced by commitlint via a git hook:
@@ -70,7 +100,7 @@ Commit messages follow the [Conventional Commits](https://www.conventionalcommit
70
100
71
101
**Scopes** (optional but enforced): if provided, the scope **must** be one of the allowed values. The scope is recommended for driver-specific changes but can be omitted for cross-cutting changes.
0 commit comments