Skip to content

Commit

Permalink
add test using ExplicitImports.jl (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert authored Mar 12, 2024
1 parent 9c3e852 commit dd15597
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/KernelInterpolation.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module KernelInterpolation

using LinearAlgebra: norm, Symmetric
using RecipesBase
using RecipesBase: RecipesBase, @recipe, @series
using SpecialFunctions: besselk, loggamma
using StaticArrays
using StaticArrays: StaticArrays, MVector
using TypedPolynomials: Variable, monomials, degree

include("kernels/kernels.jl")
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand Down
3 changes: 3 additions & 0 deletions test/test_aqua.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
module TestAqua

using Aqua
using ExplicitImports: check_no_implicit_imports, check_no_stale_explicit_imports
using Test
using KernelInterpolation

@testset "Aqua.jl" begin
Aqua.test_all(ambiguities = false, KernelInterpolation)
@test isnothing(check_no_implicit_imports(KernelInterpolation))
@test isnothing(check_no_stale_explicit_imports(KernelInterpolation))
end

end #module

0 comments on commit dd15597

Please sign in to comment.