Browse Source

Better gitignores

Tolstoyevsky 5 months ago
parent
commit
1eec0d21cc
3 changed files with 10 additions and 3 deletions
  1. 4 3
      .gitignore
  2. 3 0
      data/.gitignore
  3. 3 0
      outputs/.gitignore

+ 4 - 3
.gitignore

@@ -1,8 +1,9 @@
-/data/
+# Python files
 /env/
-/outputs/
+/.env/
+__pycache__/
 
 # IDE
 .vscode/
 .idea/
-__pycache__/
+.ipynb_checkpoints/

+ 3 - 0
data/.gitignore

@@ -0,0 +1,3 @@
+# Ignore every file in the data directory, except the .gitignore itself
+*
+!.gitignore

+ 3 - 0
outputs/.gitignore

@@ -0,0 +1,3 @@
+# Ignore every file in the this directory, except the .gitignore itself
+*
+!.gitignore