浏览代码

Update default .gitignore (#718)

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.