7 lines
331 B
Markdown
7 lines
331 B
Markdown
# Code style
|
||
- Use type hinting everywhere
|
||
- Use pydantic based models instead of dict
|
||
- Adopt Inversion of Control pattern whenever possible, use constructor injection for class, extract pure function if it has to depend on some global variable
|
||
|
||
# Workflow
|
||
- Be sure to typecheck when you’re done making a series of code changes |