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
- The user is using Python version >= 3.11 with uv as the Python package and project manager.
3
+
- Follow the Google Python Style Guide.
4
+
- Instead of importing `Optional` from typing, using the `| `syntax.
5
+
- Always add appropriate type hintssuch that the code would pass a mypy type check.
6
+
- For type hints, use `list`, not `List`. For example, if the variable is `[{"name": "Jane", "age": 32}, {"name": "Amy", "age": 28}]` the type hint should be `list[dict]`
7
+
- If the user is using Pydantic, it is version >=2.10
8
+
- Always prefer pathlib for dealing with files. Use `Path.open` instead of `open`.
0 commit comments