Closed sweep-ai[bot] closed 5 months ago
[!IMPORTANT]
Auto Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR Feedback (click)
I created this PR to address this rule:
"Avoid using hard-coded values and instead use constants or configuration variables."
Description
This PR updates the
labels/labels_old_values.py
file to replace the hard-coded value oftimeout
with a constant or configuration variable. By doing so, the code adheres to the rule of avoiding hard-coded values, making it more maintainable and flexible.Summary of Changes
TIMEOUT
for thetimeout
value.Session.post
method call in theGetPageText
function to use theTIMEOUT
constant for thetimeout
value.Please review the changes and merge this PR if it meets the requirements.