Skip to content

Commit 95cd26a

Browse files
authored
Use Aqua to enforce quality (#115)
1 parent 4a95332 commit 95cd26a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ MatrixFactorizations = "a3b82374-2e81-5b9e-98ce-41277c0e4c87"
1717
SemiseparableMatrices = "f8ebbe35-cbfb-4060-bf7f-b10e4670cf57"
1818

1919
[compat]
20+
Aqua = "0.5"
2021
ArrayLayouts = "0.8.11"
2122
BandedMatrices = "0.17"
2223
BlockArrays = "0.16.14"
@@ -31,10 +32,11 @@ SemiseparableMatrices = "0.3"
3132
julia = "1.6"
3233

3334
[extras]
35+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3436
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
3537
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
3638
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
3739
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3840

3941
[targets]
40-
test = ["Test", "Random", "SpecialFunctions", "StaticArrays"]
42+
test = ["Aqua", "Test", "Random", "SpecialFunctions", "StaticArrays"]

test/runtests.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ import LazyArrays: colsupport, MemoryLayout, ApplyLayout, LazyArrayStyle, argume
1313
import InfiniteArrays: OneToInf, oneto, RealInfinity
1414
import LazyBandedMatrices: BroadcastBandedBlockBandedLayout, BroadcastBandedLayout, LazyBandedLayout
1515

16+
using Aqua
17+
@testset "Project quality" begin
18+
Aqua.test_all(InfiniteLinearAlgebra, ambiguities=false, unbound_args=false)
19+
end
20+
1621
@testset "chop" begin
1722
a = randn(5)
1823
b = [a; zeros(5)]
@@ -427,4 +432,4 @@ include("test_hessenbergq.jl")
427432
include("test_infql.jl")
428433
include("test_infqr.jl")
429434
include("test_inful.jl")
430-
include("test_infcholesky.jl")
435+
include("test_infcholesky.jl")

0 commit comments

Comments
 (0)