Milo Chen пре 2 година
родитељ
комит
372ee9e943
1 измењених фајлова са 1 додато и 1 уклоњено
  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.