Skip to content

Commit 05b38df

Browse files
committed
Enable ruff S105 rule
1 parent 93fb555 commit 05b38df

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ lint.ignore = [ # `ruff rule S101` for a description of that rule
1515
"PT018", # Assertion should be broken down into multiple parts
1616
"RUF00", # Ambiguous unicode character and other rules
1717
"S101", # Use of `assert` detected -- DO NOT FIX
18-
"S105", # Possible hardcoded password: 'password'
1918
"S113", # Probable use of requests call without timeout -- FIX ME
2019
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes -- FIX ME
2120
"SLF001", # Private member accessed: `_Iterator` -- FIX ME

web_programming/recaptcha_verification.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343

4444
def login_using_recaptcha(request):
45-
# Enter your recaptcha secret key here
46-
secret_key = "secretKey"
45+
# Enter your recaptcha secret key here, e.g. "secretKey"
46+
secret_key = ""
4747
url = "https://www.google.com/recaptcha/api/siteverify"
4848

4949
# when method is not POST, direct user to login page

0 commit comments

Comments
 (0)