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
2 | """Calculate statistics for a list of numbers."""
@@ -148,6 +148,11 @@ After making these changes manually, run both commands again to verify everythin
148
148
ruff format && ruff check
149
149
```
150
150
151
+
```console {.no-copy}
152
+
6 files left unchanged
153
+
All checks passed!
154
+
```
155
+
151
156
### Automating with pre-commit
152
157
153
158
Instead of remembering to run `ruff format` and `ruff check` before every commit, you can use `pre-commit` to automatically run these checks.
@@ -188,5 +193,7 @@ This ensures your code is always formatted and linted before it enters version c
188
193
189
194
---
190
195
191
-
You've set up local tools to check your code, but wouldn't it be nice if these checks ran automatically every time you push to GitHub? That's where Continuous Integration comes in!
196
+
You've set up local tools to build & deploy documentation, run tests and check your code.
197
+
Wouldn't it be nice if all this ran automatically every time you push to GitHub?
0 commit comments