mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
13 lines
547 B
Markdown
13 lines
547 B
Markdown
## Dev environment tips
|
|
|
|
- use treefmt to format all files
|
|
- make python code ruff compliant
|
|
- use pytest to test python code
|
|
- always use the minimum amount of complexity
|
|
- if judgment calls are easy to reverse make them. if not ask me first
|
|
- Match existing code style.
|
|
- Use builtin helpers getenv() over os.environ.get.
|
|
- Prefer single-purpose functions over “do everything” helpers.
|
|
- Avoid compatibility branches like PG_USER and POSTGRESQL_URL unless requested.
|
|
- Keep helpers only if reused or they simplify the code otherwise inline.
|