Skip to content

Commit 281fe75

Browse files
authored
Format files using DocumentFormat
1 parent 239ccf8 commit 281fe75

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/make.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
using Documenter, TableTraits
22

33
makedocs(
4-
modules = [TableTraits],
5-
sitename = "TableTraits.jl",
4+
modules=[TableTraits],
5+
sitename="TableTraits.jl",
66
analytics="UA-132838790-1",
7-
pages = [
7+
pages=[
88
"Introduction" => "index.md"
99
]
1010
)
1111

1212
deploydocs(
13-
repo = "github.com/queryverse/TableTraits.jl.git"
13+
repo="github.com/queryverse/TableTraits.jl.git"
1414
)

src/TableTraits.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ export supports_get_columns_view, get_columns_view
1212
function isiterabletable(x::T) where {T}
1313
isiterable(x) || return false
1414

15-
if Base.IteratorEltype(x)==Base.HasEltype()
15+
if Base.IteratorEltype(x) == Base.HasEltype()
1616
et = Base.eltype(x)
1717
if et === Union{}
1818
return false
1919
elseif et <: NamedTuple
2020
return true
21-
elseif et===Any
21+
elseif et === Any
2222
return missing
2323
else
2424
return false

test/runtests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ using Test
44

55
@testset "TableTraits" begin
66

7-
table_array = [(a=1,), (a=2,)]
8-
any_table_array = Any[(a=1,), (a=2,)]
7+
table_array = [(a = 1,), (a = 2,)]
8+
any_table_array = Any[(a = 1,), (a = 2,)]
99
other_array = [1,2,3]
1010
without_eltype = (i for i in table_array)
1111

1212
@test isiterabletable(table_array)
1313
@test !isiterabletable(other_array)
14-
@test isiterabletable(without_eltype)===missing
15-
@test isiterabletable(any_table_array)===missing
14+
@test isiterabletable(without_eltype) === missing
15+
@test isiterabletable(any_table_array) === missing
1616
@test !supports_get_columns_copy(table_array)
1717
@test !supports_get_columns_view(table_array)
1818
@test !supports_get_columns_copy_using_missing(table_array)

0 commit comments

Comments
 (0)