From 6042ba7abb793897f4836450a2c52c8325af143f Mon Sep 17 00:00:00 2001 From: Azzaare Date: Mon, 5 Aug 2024 06:42:17 +0000 Subject: [PATCH] Fix format --- src/continuous.jl | 2 +- test/Aqua.jl | 11 ++++------- test/JET.jl | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/continuous.jl b/src/continuous.jl index c631c2b..fa42182 100644 --- a/src/continuous.jl +++ b/src/continuous.jl @@ -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) diff --git a/test/Aqua.jl b/test/Aqua.jl index 4ab57d0..6c67b57 100644 --- a/test/Aqua.jl +++ b/test/Aqua.jl @@ -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 @@ -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 diff --git a/test/JET.jl b/test/JET.jl index 471a9cc..28ceb34 100644 --- a/test/JET.jl +++ b/test/JET.jl @@ -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