Skip to content

Commit

Permalink
Update .gitignore: exclude .env files and pyenv .python-version (#200)
Browse files Browse the repository at this point in the history
1. It is common to keep environment variables in either `.env` or
`.envrc` files in the project root folder. To avoid accidental secrets
leak, exclude `.env` files.
2. To support kickstart files validation and syntax highlighting
`pykickstart` python package can be used together with "Kickstart
Language Support" plugin for VScode. If python environment is managed
with `pyenv`, make sure to exclude .python-version which is always local
for user's environment.
  • Loading branch information
GR360RY authored Feb 1, 2024
1 parent 58a6560 commit 229087f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ ubuntu/packages/*.bin
ubuntu/packages/*.tar.gz
.vscode
*/http/*.ks
.python-version
.env
.envrc

0 comments on commit 229087f

Please sign in to comment.