add catch-dotenv hook to README and improve test clarity

This commit is contained in:
Chris Rowe 2025-08-28 21:25:38 -06:00
parent 3e8b0c9e1a
commit 476396a2b9
No known key found for this signature in database
3 changed files with 9 additions and 3 deletions

View file

@ -42,6 +42,12 @@ Require literal syntax when initializing empty or zero Python builtin types.
- Ignore this requirement for specific builtin types with `--ignore=type1,type2,…`.
- Forbid `dict` keyword syntax with `--no-allow-dict-kwargs`.
#### `catch-dotenv`
Prevents committing `.env` files to version control and optionally generates `.env.example` files.
- Use `--create-example` to generate a `.env.example` file with variable names but no values.
- Automatically adds `.env` to `.gitignore` if not already present.
- Helps prevent accidental exposure of secrets and sensitive configuration.
#### `check-case-conflict`
Check for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT.