Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ SciMLBase = "1.73, 2"
julia = "1.6"

[extras]
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "ODEProblemLibrary"]
test = ["ExplicitImports", "Test", "ODEProblemLibrary"]
19 changes: 13 additions & 6 deletions src/ODEInterfaceDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@ __precompile__()

module ODEInterfaceDiffEq

using Reexport
using Reexport: @reexport
@reexport using DiffEqBase

using ODEInterface, Compat, DataStructures, FunctionWrappers
using LinearAlgebra

import DiffEqBase: solve
using DiffEqBase: DiffEqBase

import Compat
import FunctionWrappers
import ODEInterface
import SciMLBase
using DataStructures: BinaryMaxHeap, BinaryMinHeap, counter
using LinearAlgebra: I
using SciMLBase: CallbackSet, ReturnCode, VectorContinuousCallback, check_keywords,
warn_compat

import DiffEqBase: solve, initialize!, savevalues!

const warnkeywords = (
:save_idxs, :d_discontinuities, :unstable_check, :tstops,
Expand Down
8 changes: 8 additions & 0 deletions test/explicit_imports.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using ExplicitImports
using ODEInterfaceDiffEq
using Test

@testset "ExplicitImports" begin
@test check_no_implicit_imports(ODEInterfaceDiffEq) === nothing
@test check_no_stale_explicit_imports(ODEInterfaceDiffEq) === nothing
end
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
using ODEInterfaceDiffEq, DiffEqBase
using Test

@time @testset "Explicit Imports" begin
include("explicit_imports.jl")
end
@time @testset "Algorithms" begin
include("algorithm_tests.jl")
end
Expand Down
Loading