Explorar o código

Update default .gitignore (#718)

Milo Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
372ee9e943
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pynecone/constants.py

+ 1 - 1
pynecone/constants.py

@@ -138,7 +138,7 @@ DEFAULT_META_LIST = []
 # The gitignore file.
 # The gitignore file.
 GITIGNORE_FILE = ".gitignore"
 GITIGNORE_FILE = ".gitignore"
 # Files to 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.
 # The name of the pynecone config module.
 CONFIG_MODULE = "pcconfig"
 CONFIG_MODULE = "pcconfig"
 # The python config file.
 # The python config file.