Browse Source

Update default .gitignore (#718)

Milo Chen 2 years ago
parent
commit
372ee9e943
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pynecone/constants.py

+ 1 - 1
pynecone/constants.py

@@ -138,7 +138,7 @@ DEFAULT_META_LIST = []
 # The gitignore file.
 GITIGNORE_FILE = ".gitignore"
 # Files to gitignore.
-DEFAULT_GITIGNORE = {WEB_DIR, DB_NAME}
+DEFAULT_GITIGNORE = {WEB_DIR, DB_NAME, "__pycache__/", "*.py[cod]"}
 # The name of the pynecone config module.
 CONFIG_MODULE = "pcconfig"
 # The python config file.