Conversation
6856f96 to
5ba7c17
Compare
| from arch.utility.exceptions import PerformanceWarning | ||
|
|
||
| try: | ||
| import numba # noqa |
Check notice
Code scanning / CodeQL
Unused import Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI about 1 year ago
To fix the problem, we need to remove the redundant import numba statement. This will eliminate the unnecessary import and make the code cleaner. The from numba import jit statement within the try block will handle the import of numba if it is available, and the HAS_NUMBA variable will be set accordingly.
| @@ -7,4 +7,2 @@ | ||
| try: | ||
| import numba # noqa | ||
|
|
||
| HAS_NUMBA = True |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #771 +/- ##
==========================================
- Coverage 99.32% 99.30% -0.03%
==========================================
Files 75 75
Lines 15722 15769 +47
Branches 1284 1293 +9
==========================================
+ Hits 15616 15659 +43
- Misses 77 79 +2
- Partials 29 31 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.