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
- ✨ Core developer of [numpydoc](https://github.com/numpy/numpydoc) and creator of [numpydoc's pre-commit hook](https://numpydoc.readthedocs.io/en/latest/validation.html#docstring-validation-using-pre-commit-hook), which uses static code analysis
58
58
- ✍ Author of "[Hands-On Data Analysis with Pandas](https://stefaniemolin.com/books/Hands-On-Data-Analysis-with-Pandas-2nd-edition/)"
59
-
- 🎓 Bachelor's in operations research from Columbia University
60
-
- 🎓 Master's in computer science (ML specialization) from Georgia Tech
59
+
- 🎓 Bachelor's degree in operations research from Columbia University
60
+
- 🎓 Master's degree in computer science from Georgia Tech
61
61
62
62
[notes]
63
63
This is a highly-technical keynote, but don't worry about getting lost or trying to take pictures of the code as its up on the screen because the slides are self-contained, and I have made them publicly-available on my website.
@@ -112,7 +112,7 @@ This is a highly-technical keynote, but don't worry about getting lost or trying
112
112
113
113
[data-transition=slide-in fade-out]
114
114
115
-
Let's see what this code snippet (`greet.py`) looks like represented as an AST:
115
+
Let's see what this code snippet (`greet.py`) looks like when represented as an AST:
116
116
117
117
```python
118
118
classGreeter:
@@ -278,25 +278,25 @@ Module(
278
278
279
279
<ul>
280
280
<liclass="fragment fade-in">
281
-
Linters and formatters like <code>ruff</code> (Rust) and <code>black</code> (Python)
281
+
Linters and formatters, like <code>ruff</code> (Rust) and <code>black</code> (Python)
282
282
</li>
283
283
<liclass="fragment fade-in">
284
-
Documentation tools like <code>sphinx</code> and the <code>numpydoc-validation</code> pre-commit hook
284
+
Documentation tools, like <code>sphinx</code> and the <code>numpydoc-validation</code> pre-commit hook
285
285
</li>
286
286
<liclass="fragment fade-in">
287
-
Automatic Python syntax upgrade tools like <code>pyupgrade</code>
287
+
Automatic Python syntax upgrade tools, like <code>pyupgrade</code>
288
288
</li>
289
289
<liclass="fragment fade-in">
290
-
Type checkers like <code>mypy</code>
290
+
Type checkers, like <code>mypy</code>
291
291
</li>
292
292
<liclass="fragment fade-in">
293
-
Code security tools like <code>bandit</code>
293
+
Code security tools, like <code>bandit</code>
294
294
</li>
295
295
<liclass="fragment fade-in">
296
-
Code and testing coverage tools like <code>vulture</code> and <code>coverage.py</code>
296
+
Code and testing coverage tools, like <code>vulture</code> and <code>coverage.py</code>
297
297
</li>
298
298
<liclass="fragment fade-in">
299
-
Testing frameworks that instrument your code or generate tests based on it like <code>hypothesis</code> and <code>pytest</code>
299
+
Testing frameworks that instrument your code or generate tests based on it, like <code>hypothesis</code> and <code>pytest</code>
300
300
</li>
301
301
</ul>
302
302
@@ -388,7 +388,7 @@ class Greeter:
388
388
Only <code>ast.Module</code>, <code>ast.ClassDef</code>, <code>ast.FunctionDef</code>, and <code>ast.AsyncFunctionDef</code> nodes can have docstrings:
Now, we switch to calling <code>_visit_helper()</code> whenever we visit module, class, or function nodes:
@@ -685,7 +685,7 @@ greet.Greeter.greet is missing a docstring
685
685
<liclass="fragment"><code>body</code>: AST of the function body, which can be used to infer return types, as well as whether the function raises any exceptions (out of scope)</li>
686
686
</ul>
687
687
688
-
<pclass="fragment">We will focus on fully-typed code for this keynote.</p>
688
+
<pclass="fragment">For this keynote, we will focus on fully-typed code.</p>
689
689
690
690
---
691
691
@@ -944,7 +944,7 @@ Including a `*` in the function definition requires that the arguments following
944
944
We ensure that the order of the arguments in the docstring matches their order in the function definition:
Next, we process the starred arguments. However, we only check whether <code>varargs</code> is present at this time, because it belongs in the positional arguments group:
@@ -1218,7 +1218,7 @@ Suggestions are great, but we can do better.
1218
1218
In order to properly indent the docstring, we need to add one additional level of indentation beyond what the function definition has (<code>col_offset</code>):
0 commit comments