Enable ruff S105 rule (#11343)

* Enable ruff S105 rule

* Update web_programming/recaptcha_verification.py

---------

Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
Maxim Smolskiy
2024-04-02 19:44:37 +03:00
committed by GitHub
parent 93fb555e0a
commit f8cdb3e948
2 changed files with 1 additions and 2 deletions

View File

@ -43,7 +43,7 @@ except ImportError:
def login_using_recaptcha(request):
# Enter your recaptcha secret key here
secret_key = "secretKey"
secret_key = "secretKey" # noqa: S105
url = "https://www.google.com/recaptcha/api/siteverify"
# when method is not POST, direct user to login page