diff --git a/lib/BracketingNonlinearSolve/Project.toml b/lib/BracketingNonlinearSolve/Project.toml index dc979f660..6fc241d7d 100644 --- a/lib/BracketingNonlinearSolve/Project.toml +++ b/lib/BracketingNonlinearSolve/Project.toml @@ -17,19 +17,26 @@ ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" BracketingNonlinearSolveForwardDiffExt = "ForwardDiff" [compat] +Aqua = "0.8.9" CommonSolve = "0.2.4" ConcreteStructs = "0.2.3" +ExplicitImports = "1.10.1" ForwardDiff = "0.10.36" +InteractiveUtils = "<0.0.1, 1" NonlinearSolveBase = "1" PrecompileTools = "1.2" SciMLBase = "2.50" +Test = "1.10" +TestItemRunner = "1" julia = "1.10" [extras] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" +ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7" ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a" [targets] -test = ["InteractiveUtils", "ForwardDiff", "Test", "TestItemRunner"] +test = ["Aqua", "ExplicitImports", "ForwardDiff", "InteractiveUtils", "Test", "TestItemRunner"] diff --git a/lib/BracketingNonlinearSolve/test/qa_tests.jl b/lib/BracketingNonlinearSolve/test/qa_tests.jl new file mode 100644 index 000000000..de27e33a4 --- /dev/null +++ b/lib/BracketingNonlinearSolve/test/qa_tests.jl @@ -0,0 +1,16 @@ +@testitem "Aqua" tags=[:core] begin + using Aqua, BracketingNonlinearSolve + + Aqua.test_all(BracketingNonlinearSolve; piracies = false, ambiguities = false) + Aqua.test_piracies(BracketingNonlinearSolve; treat_as_own = [IntervalNonlinearProblem]) + Aqua.test_ambiguities(BracketingNonlinearSolve; recursive = false) +end + +@testitem "Explicit Imports" tags=[:core] begin + import ForwardDiff + using ExplicitImports, BracketingNonlinearSolve + + @test check_no_implicit_imports(BracketingNonlinearSolve; skip = (Base, Core)) === nothing + @test check_no_stale_explicit_imports(BracketingNonlinearSolve) === nothing + @test check_all_qualified_accesses_via_owners(BracketingNonlinearSolve) === nothing +end