ruff cleanup #1
security.yml
on: pull_request
Security Analysis
2m 15s
Annotations
10 errors
Ruff (B904):
tally_ho/apps/tally/forms/disable_entity_form.py#L92
tally_ho/apps/tally/forms/disable_entity_form.py:92:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/disable_entity_form.py#L87
tally_ho/apps/tally/forms/disable_entity_form.py:87:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/disable_entity_form.py#L81
tally_ho/apps/tally/forms/disable_entity_form.py:81:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/disable_entity_form.py#L78
tally_ho/apps/tally/forms/disable_entity_form.py:78:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/create_result_form.py#L72
tally_ho/apps/tally/forms/create_result_form.py:72:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/center_details_form.py#L103
tally_ho/apps/tally/forms/center_details_form.py:103:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/center_details_form.py#L100
tally_ho/apps/tally/forms/center_details_form.py:100:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/candidate_formset.py#L14
tally_ho/apps/tally/forms/candidate_formset.py:14:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/barcode_form.py#L93
tally_ho/apps/tally/forms/barcode_form.py:93:25: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (B904):
tally_ho/apps/tally/forms/barcode_form.py#L83
tally_ho/apps/tally/forms/barcode_form.py:83:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|