diff --git a/src/DataInterpolations.jl b/src/DataInterpolations.jl index 3f17dc0b..ffaf8157 100644 --- a/src/DataInterpolations.jl +++ b/src/DataInterpolations.jl @@ -4,10 +4,11 @@ module DataInterpolations abstract type AbstractInterpolation{T} end -using LinearAlgebra, RecipesBase -using PrettyTables -using ForwardDiff -using EnumX +using LinearAlgebra: LinearAlgebra, Tridiagonal, dot, norm, normalize! +using RecipesBase: RecipesBase, @recipe, @series +using PrettyTables: PrettyTables, pretty_table +using ForwardDiff: ForwardDiff +using EnumX: EnumX, @enumx import FindFirstFunctions import FindFirstFunctions: Guesser diff --git a/test/qa/Project.toml b/test/qa/Project.toml index 16d4e70f..8bd513e3 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -14,6 +14,6 @@ DataInterpolations = {path = "../.."} AllocCheck = "0.2" Aqua = "0.8" SafeTestsets = "0.0.1, 0.1" -SciMLTesting = "1" +SciMLTesting = "1.7" StaticArrays = "1.9.7" Test = "1" diff --git a/test/qa/qa.jl b/test/qa/qa.jl index 19c936b5..10ac9ce4 100644 --- a/test/qa/qa.jl +++ b/test/qa/qa.jl @@ -1,11 +1,17 @@ -using DataInterpolations, Aqua -@testset "Aqua" begin - Aqua.find_persistent_tasks_deps(DataInterpolations) - Aqua.test_ambiguities(DataInterpolations, recursive = false) - Aqua.test_deps_compat(DataInterpolations) - Aqua.test_piracies(DataInterpolations) - Aqua.test_project_extras(DataInterpolations) - Aqua.test_stale_deps(DataInterpolations) - Aqua.test_unbound_args(DataInterpolations) - Aqua.test_undefined_exports(DataInterpolations) -end +using SciMLTesting, DataInterpolations, Test + +run_qa( + DataInterpolations; + explicit_imports = true, + ei_kwargs = (; + # `@enumx ExtrapolationType ...` generates a submodule with dynamic includes + # that ExplicitImports cannot statically analyze; allow it to be unanalyzable + # rather than failing the import-graph checks. + no_implicit_imports = (; allow_unanalyzable = (DataInterpolations.ExtrapolationType,)), + no_stale_explicit_imports = (; allow_unanalyzable = (DataInterpolations.ExtrapolationType,)), + # ForwardDiff.{Dual,derivative,value} are not marked public in ForwardDiff, + # so the public-API check flags them; keep them allowed until ForwardDiff + # declares them public. + all_qualified_accesses_are_public = (; ignore = (:Dual, :derivative, :value)), + ), +)