Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzaare committed Aug 5, 2024
1 parent e2111f3 commit 6042ba7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/continuous.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ domain(intervals::Vector{I}) where {I<:Interval} = Intervals(intervals)
Base.length(itv::Intervals)
Return the sum of the length of each interval in `itv`.
"""
Base.length(itv::Intervals) = sum(size, get_domain(itv); init=0)
Base.length(itv::Intervals) = sum(size, get_domain(itv); init = 0)

"""
Base.rand(itv::Intervals)
Expand Down
11 changes: 4 additions & 7 deletions test/Aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# TODO: Fix the broken tests and remove the `broken = true` flag
Aqua.test_all(
ConstraintDomains;
ambiguities=(broken=true,),
deps_compat=false,
piracies=(broken=false,),
ambiguities = (broken = true,),
deps_compat = false,
piracies = (broken = false,),
)

@testset "Ambiguities: ConstraintDomains" begin
Expand All @@ -16,9 +16,6 @@
end

@testset "Dependencies compatibility (no extras)" begin
Aqua.test_deps_compat(
ConstraintDomains;
check_extras=false,
)
Aqua.test_deps_compat(ConstraintDomains; check_extras = false)
end
end
2 changes: 1 addition & 1 deletion test/JET.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@testset "Code linting (JET.jl)" begin
JET.test_package(ConstraintDomains; target_defined_modules=true)
JET.test_package(ConstraintDomains; target_defined_modules = true)
end

0 comments on commit 6042ba7

Please sign in to comment.