Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test using ExplicitImports.jl #96

Merged
merged 2 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/DispersiveShallowWater.jl
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
module DispersiveShallowWater

using DiffEqBase
using Interpolations
using LinearAlgebra: mul!, ldiv!, factorize, I, Diagonal
using PolynomialBases
using DiffEqBase: DiffEqBase, SciMLBase, terminate!
using Interpolations: Interpolations, linear_interpolation
using LinearAlgebra: mul!, I, Diagonal
using PolynomialBases: PolynomialBases
using Printf: @printf, @sprintf
using RecipesBase
using RecipesBase: RecipesBase, @recipe, @series
using Reexport: @reexport
using Roots: AlefeldPotraShi, find_zero

using SciMLBase: CallbackSet, DiscreteCallback, ODEProblem, ODESolution
import SciMLBase: get_tmp_cache, u_modified!
using SciMLBase: DiscreteCallback, ODEProblem, ODESolution
import SciMLBase: u_modified!

@reexport using StaticArrays: SVector
using SimpleUnPack: @unpack
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"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Expand Down
3 changes: 3 additions & 0 deletions test/test_aqua.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
module TestAqua

using Aqua
using ExplicitImports
JoshuaLampert marked this conversation as resolved.
Show resolved Hide resolved
using Test
using DispersiveShallowWater

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

end #module
Loading