Add wildcard so that all .env files are ignored - Python.gitignore
Reasons for making this change:
So that all files starting with .env are ignored.
Example why this is useful:
With python 3.11 there is now native TOML support, so it is a valid use case to have .env.toml files.
Additionally, it would be useful if more than one ".env" file is present, like ".env_topic1" for example.
Current status The problem with the current "gitignore" is, that these files are not ignored.
Solution
With the wildcard .env* they are ignored.
Links to documentation supporting these rule changes: python 3.11 tomlib native support
The Dart gitignore also has the wildcard to ignore all .env* files and from my perspective it would be useful for python too
BTW: If something is missing or not correct, please let me know, this is my first pull request to this repo
This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open :smile: