Added type hints to functions in the Celery module for improved code clarity and type checking.
Included docstrings for selected functions to provide clear and informative descriptions of their purpose, parameters, and behavior.
Corrected various typographical errors and improved code readability.
These changes enhance code quality and maintainability, making it easier for developers to understand and work with the Celery module
PRODX-35956
Change-Id: I829435caa82f91d776183321bff3c44b859f8200
diff --git a/testrail_bot/control/views.py b/testrail_bot/control/views.py
index b12457b..24f4987 100644
--- a/testrail_bot/control/views.py
+++ b/testrail_bot/control/views.py
@@ -69,7 +69,7 @@
if not run.run_name:
run_name += testrail_run['name']
if run.test_pattern:
- run_name += "-" + run.test_pattern
+ run_name += "-" + run.test_pattern
report_name = "{}-run_id-{}-date-{}".format(
run_name, run.run_id, datetime.datetime.isoformat(datetime.datetime.now()))
path = os.path.join(models.fs.location, report_name)