mirror of
https://github.com/Xtao-Labs/QQ-GitHub-Bot.git
synced 2025-01-30 06:58:53 +00:00
🚸 add default settings
This commit is contained in:
parent
6a4ef989c9
commit
58bf50fc03
19
.env
Normal file
19
.env
Normal file
@ -0,0 +1,19 @@
|
||||
ENVIRONMENT=dev
|
||||
HOST=0.0.0.0
|
||||
PORT=8080
|
||||
DEBUG=false
|
||||
|
||||
PLUGINS=[]
|
||||
PLUGIN_DIRS=["src/plugins"]
|
||||
|
||||
# leaving space to load from system env
|
||||
|
||||
# nonebot-plugin-sentry
|
||||
# See Also: https://sentry.io/
|
||||
SENTRY_DSN=
|
||||
|
||||
# github
|
||||
# See Also: https://github.com/settings/developers
|
||||
GITHUB_CLIENT_ID=
|
||||
GITHUB_CLIENT_SECRET=
|
||||
GITHUB_REDIRECT_URI=
|
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
.env*
|
||||
.env.*
|
||||
src/plugins/**/poetry.lock
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/python,visualstudiocode
|
||||
@ -111,7 +111,7 @@ celerybeat.pid
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
# .env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
@ -152,4 +152,4 @@ dmypy.json
|
||||
# Ignore all local history of files
|
||||
.history
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/python,visualstudiocode
|
||||
# End of https://www.toptal.com/developers/gitignore/api/python,visualstudiocode
|
||||
|
@ -4,7 +4,7 @@
|
||||
@Author : yanyongyu
|
||||
@Date : 2021-03-09 17:13:37
|
||||
@LastEditors : yanyongyu
|
||||
@LastEditTime : 2021-03-09 18:36:19
|
||||
@LastEditTime : 2021-03-10 21:47:26
|
||||
@Description : None
|
||||
@GitHub : https://github.com/yanyongyu
|
||||
"""
|
||||
@ -35,8 +35,8 @@ class Github:
|
||||
retry: Optional[int] = None,
|
||||
verify: bool = True):
|
||||
self._requester = Requester(token_or_client_id, client_secret, base_url,
|
||||
timeout, user_agent, per_page, verify,
|
||||
retry)
|
||||
timeout, user_agent, per_page, retry,
|
||||
verify)
|
||||
|
||||
@property
|
||||
def oauth_scopes(self):
|
||||
|
Loading…
Reference in New Issue
Block a user