Skip to content

Commit

Permalink
test: more explicit imports testing
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Jul 9, 2024
1 parent d257250 commit 0f36a38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Aqua = "0.8.7"
CUDA = "5.3.2"
ChainRulesCore = "1.23"
Documenter = "1.5.0"
ExplicitImports = "1.6.0"
ExplicitImports = "1.9.0"
GPUArrays = "10.2"
GPUArraysCore = "0.1.6"
LinearAlgebra = "1.10"
Expand Down
4 changes: 4 additions & 0 deletions test/qa_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ end
@test check_no_implicit_imports(WeightInitializers) === nothing
@test check_no_stale_explicit_imports(WeightInitializers) === nothing
@test check_no_self_qualified_accesses(WeightInitializers) === nothing
@test check_all_explicit_imports_via_owners(WeightInitializers) === nothing
@test check_all_qualified_accesses_via_owners(WeightInitializers) === nothing
@test_broken check_all_explicit_imports_are_public(WeightInitializers) === nothing # mostly upstream problems
@test check_all_qualified_accesses_are_public(WeightInitializers) === nothing
end

@testitem "doctests: Quality Assurance" begin
Expand Down

0 comments on commit 0f36a38

Please sign in to comment.