Skip to content

Commit 862f843

Browse files
committed
working local secrets
1 parent 155342a commit 862f843

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
local_secrets.yml
1+
local_secrets.py
22

33
# From https://github.com/github/gitignore/blob/c1faae44aebe587bbb90d60e21ca928e0116e8d4/Python.gitignore
44

__init__.py

+11-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,17 @@
1717

1818
import slack_reformat
1919

20-
import local_secrets
20+
from local_secrets import (ZULIP_BOT_NAME, ZULIP_BOT_EMAIL,
21+
ZULIP_API_KEY, ZULIP_URL,
22+
SLACK_BOT_ID, SLACK_TOKEN,
23+
PUBLIC_TWO_WAY, PUBLIC_TWO_WAY_STREAM,
24+
REDIS_HOSTNAME, REDIS_PORT,
25+
REDIS_PASSWORD, REDIS_PREFIX,
26+
SLACK_EDIT_UPDATE_ZULIP_TTL, SLACK_ERR_CHANNEL,
27+
GROUPME_ENABLE, GROUPME_TWO_WAY,
28+
SSL_CERT_CHAIN_PATH, SSL_CERT_KEY_PATH,
29+
ZULIP_LOG_ENABLE,
30+
ZULIP_LOG_PUBLIC_STREAM, ZULIP_LOG_PRIVATE_STREAM)
2131

2232
REDIS_USERS = REDIS_PREFIX + ':users:'
2333
REDIS_BOTS = REDIS_PREFIX + ':bots:'

0 commit comments

Comments
 (0)