3 Ways to Prevent .pypirc Credentials or Other Secrets from Leaking onto Github
Even if you’re not involved in the Python community, you might have heard about this security incident a while back. This is a not uncommon scenario where developers who may not be Github or distribution tooling (or security) experts make a mistake and breed mistrust in their project as well as the distribution medium itself.
But setting up your environment to prevent these accidental credential disclosures is easy to do, and will enhance your security posture.
