Skip to contentSkip to conversation

Add *.pyc back to the .gitignore file

PATCH Applied Thomas Huth 3 participants 3 messages Sep 19, 2020 – Sep 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add *.pyc back to the .gitignore file

Python still dumps its bytecode into the source directory, so we should continue to ignore the *.pyc files.

Fixes 0e72b7df4d ("Simplify the .gitignore file")
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -0
index 5515f595e6..b32bca1315 100644
@@ -1,5 +1,6 @@
 /GNUmakefile
 /build/
+*.pyc
 .sdk
 .stgit-*
 .git-submodule-status
Signature · 1 line
2.18.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · Thomas Huth

Python still dumps its bytecode into the source directory, so we should continue to ignore the *.pyc files.

Fixes 0e72b7df4d ("Simplify the .gitignore file")
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +0 -0
index 5515f595e6..b32bca1315 100644

.gitignore line 6

Quoted 6 lines
.gitignore +1 -0
@@ -1,5 +1,6 @@
 /GNUmakefile
 /build/
+*.pyc
 .sdk
 .stgit-*
 .git-submodule-status
#2 lore raw
In reply to Thomas Huth

Le 19/09/2020 à 12:18, Thomas Huth a écrit :

Quoted 16 lines

Python still dumps its bytecode into the source directory, so we should continue to ignore the *.pyc files.

Fixes 0e72b7df4d ("Simplify the .gitignore file")
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +0 -0
index 5515f595e6..b32bca1315 100644

.gitignore line 6

Quoted 6 lines
.gitignore +1 -0
@@ -1,5 +1,6 @@
 /GNUmakefile
 /build/
+*.pyc
 .sdk
 .stgit-*
 .git-submodule-status

Applied to my trivial-patches branch.

Thanks,
Laurent