This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/dolphinscheduler-sdk-python.git


The following commit(s) were added to refs/heads/main by this push:
     new 7722a63  fix: flake8 upgrade syntax error and changelog token (#55)
7722a63 is described below

commit 7722a63aa72528397c147b192315cfe71a9ddbf9
Author: Jay Chung <[email protected]>
AuthorDate: Mon Dec 19 16:06:24 2022 +0800

    fix: flake8 upgrade syntax error and changelog token (#55)
---
 .flake8             | 9 ++++++---
 docs/source/conf.py | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/.flake8 b/.flake8
index 4a1df20..b00efe5 100644
--- a/.flake8
+++ b/.flake8
@@ -30,10 +30,13 @@ exclude =
     .tox,
 ignore = 
     # It's clear and not need to add docstring
-    D107,  # D107: Don't require docstrings on __init__
-    D105,  # D105: Missing docstring in magic method
+    # D107: Don't require docstrings on __init__
+    D107,
+    # D105: Missing docstring in magic method
+    D105,
     # Conflict to Black
-    W503   # W503: Line breaks before binary operators
+    # W503: Line breaks before binary operators
+    W503
 per-file-ignores =
     */pydolphinscheduler/side/__init__.py:F401
     */pydolphinscheduler/tasks/__init__.py:F401
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 257b342..c06a1e1 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -109,9 +109,9 @@ autodoc_default_options = {
 
 autosectionlabel_prefix_document = True
 
-# extensions for sphinx_github_changelog, token from Jay Chung with only 
public_repo permission. have to
-# encode it due to github will delete token string if it is not encoded.
-token_encode = b"Z2hwX2tXa09kdTI0N3RVcmJlREVVeEJINUhWOVZBblVwQjNJNXNLeg=="
+# extensions for sphinx_github_changelog, token from Jay Chung with None 
permission scope. have to encode it
+# due to github will delete token string if it finds in any commit
+token_encode = b"Z2hwX3N2dzFPbHExSUtLYXVTUHhxbVZidjdoNGdIRndoYTN3Q0ZuSQ=="
 sphinx_github_changelog_token = base64.b64decode(token_encode).decode()
 
 # -- Options for HTML output -------------------------------------------------

Reply via email to