From d1db62c6bd0aa4f423da94a35effe2766651babd Mon Sep 17 00:00:00 2001 From: Saran Tunyasuvunakool Date: Wed, 23 Mar 2022 06:01:09 -0700 Subject: [PATCH] Add precompiled Python files to .gitignore. PiperOrigin-RevId: 436717146 Change-Id: I99198038ce8242d60c28fe97ac8e3710a68f5fe6 --- .gitignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 74c260cb3c..c36d08cda7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ *.out *.o *.so +*.so.* # Exclude editor config .vscode/ @@ -19,4 +20,9 @@ build/ build_cmake/ # Exclude macOS folder attributes -.DS_Store \ No newline at end of file +.DS_Store + +# Python byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class