mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
Merge pull request #1486 from codeflash-ai/disregard-skip
skip disregard instruction
This commit is contained in:
commit
7712915a96
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ def dedup_and_sort_imports(
|
|||
for ce in optimized_code_and_explanations:
|
||||
try:
|
||||
# Use isort to sort and deduplicate the imports
|
||||
sorted_code = isort.code(ce.cst_module.code)
|
||||
sorted_code = isort.code(ce.cst_module.code, disregard_skip=True)
|
||||
except Exception as e:
|
||||
sentry_sdk.capture_exception(e)
|
||||
sorted_code = ce.cst_module.code
|
||||
|
|
|
|||
Loading…
Reference in a new issue