Closed ericphanson closed 2 weeks ago
Attention: Patch coverage is 90.45643%
with 23 lines
in your changes missing coverage. Please review.
Project coverage is 93.65%. Comparing base (
d46bc8e
) to head (20526a7
). Report is 2 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
src/interactive_usage.jl | 86.20% | 12 Missing :warning: |
src/deprecated.jl | 90.00% | 4 Missing :warning: |
src/get_names_used.jl | 87.09% | 4 Missing :warning: |
src/ExplicitImports.jl | 50.00% | 1 Missing :warning: |
src/improper_explicit_imports.jl | 97.91% | 1 Missing :warning: |
src/improper_qualified_accesses.jl | 87.50% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
improper_explicit_imports
is the analog toimproper_qualified_accesses
and subsumesstale_explicit_imports
. This leads to:using LinearAlgebra
print_explicit_imports
implicit_imports
check_no_implicit_imports
using LinearAlgebra: map
print_explicit_imports
improper_explicit_imports
check_all_explicit_imports_via_owners
using LinearAlgebra: _svd!
print_explicit_imports
withreport_non_public=true
improper_explicit_imports
check_all_explicit_imports_public
using LinearAlgebra: svd # unused
print_explicit_imports
improper_explicit_imports
check_no_stale_explicit_imports
LinearAlgebra.map
print_explicit_imports
improper_qualified_accesses
check_all_qualified_accesses_via_owners
LinearAlgebra._svd!
print_explicit_imports
withreport_non_public=true
improper_qualified_accesses
check_all_qualified_accesses_public
which I think is getting close to comprehensive in terms of detecting issues in this space. I also want to only have 1 interactive printing function rather than 1 per thing. However I think the
check_
functions should be quite granular, since different people want to test for different things, and I consider it breaking to add new checks to existingcheck_
functions since tests will start failing.So after this, we will have 1 interactive printing function, 3 API functions (implicit imports / improper explicit imports / improper qualified accesses), and 6
check_
functions. The printing functions and API functions can get more outputs as time goes on in a non-breaking way, while thecheck_
functions can't check for more things as times go on, and we just add more checks.closes #52 closes #6
TODO-