Skip to content

Commit

Permalink
fix: python code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Dec 28, 2024
1 parent 51b5dd6 commit a5abbef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ jobs:
- name: Analysing the code with pylint
run: |
pylint --rcfile=$(pwd)/.pylintrc --disable=R $(git ls-files '*.py')
pylint --rcfile=$(pwd)/.pylintrc --disable=R,C0301 $(git ls-files '*.py')
1 change: 1 addition & 0 deletions glue_python/aliyunopentoken/aliyunopentoken.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def shutdown():
if re.status_code == 200:
re_data = json.loads(re.content)
sid = re_data['sid']
# pylint: disable=C0103
qr_code_url = f"https://www.aliyundrive.com/o/oauth/authorize?sid={sid}"
qr = qrcode.QRCode(version=1, error_correction=qrcode.constants.ERROR_CORRECT_H, box_size=5, border=4)
qr.add_data(qr_code_url)
Expand Down
1 change: 1 addition & 0 deletions glue_python/aliyunopentoken/aliyunopentoken_nn.ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def shutdown():
if re.status_code == 200:
re_data = json.loads(re.content)
sid = re_data['sid']
# pylint: disable=C0103
qr_code_url = f"https://www.aliyundrive.com/o/oauth/authorize?sid={sid}"
qr = qrcode.QRCode(version=1, error_correction=qrcode.constants.ERROR_CORRECT_H, box_size=5, border=4)
qr.add_data(qr_code_url)
Expand Down

0 comments on commit a5abbef

Please sign in to comment.