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

test explicit imports #83

Merged
merged 4 commits into from
Aug 14, 2024
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
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PolynomialBases"
uuid = "c74db56a-226d-5e98-8bb0-a6049094aeea"
author = ["Hendrik Ranocha"]
version = "0.4.21"
version = "0.4.22"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
2 changes: 1 addition & 1 deletion src/PolynomialBases.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module PolynomialBases

using LinearAlgebra
using LinearAlgebra: Diagonal, rmul!

using ArgCheck: @argcheck
using AutoHashEquals: @auto_hash_equals
Expand Down
2 changes: 2 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Expand All @@ -7,6 +8,7 @@ SymPy = "24249f21-da20-56a4-8eb1-6a02cf4ae2e6"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
ExplicitImports = "1.7"
StaticArrays = "1"
SymEngine = "0.8, 0.9, 0.10, 0.11, 0.12"
SymPy = "1"
7 changes: 7 additions & 0 deletions test/explicit_imports.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Test
using PolynomialBases
using ExplicitImports

@test check_no_implicit_imports(PolynomialBases) === nothing

@test check_no_stale_explicit_imports(PolynomialBases) === nothing
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ using Test
using PolynomialBases

@elapsed begin
@time @testset "Explicit Imports" begin include("explicit_imports.jl") end
@time @testset "Canonical Mappings" begin include("canonical_mappings_test.jl") end
@time @testset "Interpolation" begin include("interpolation_test.jl") end
@time @testset "Integration" begin include("integration_test.jl") end
Expand Down
Loading