-
Notifications
You must be signed in to change notification settings - Fork 36
Introduce JuliaFormatter with style=blue #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
e9b08e9
4ce86f5
45660a6
6f96081
febfae8
59e1ee8
dbec702
9909892
cacfdee
9eded25
53fc498
f0f7cd9
b4d450a
bf19369
0f57bc9
a47c170
f7872d5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
style = "blue" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ if !isfile(joinpath(@__DIR__, "update_v0.8.0")) | |
This kernel now divides the squared distance by 2 to align with standard practice. | ||
This warning will be removed in 0.9.0. | ||
"""; | ||
color = Base.info_color(), | ||
color=Base.info_color(), | ||
) | ||
touch(joinpath(@__DIR__, "update_v0.8.0")) | ||
end | ||
|
@@ -37,8 +37,15 @@ export KernelSum, KernelProduct | |
export TransformedKernel, ScaledKernel | ||
export TensorProduct | ||
|
||
export Transform, SelectTransform, ChainTransform, ScaleTransform, LinearTransform, | ||
ARDTransform, IdentityTransform, FunctionTransform, PeriodicTransform | ||
export Transform, | ||
SelectTransform, | ||
ChainTransform, | ||
ScaleTransform, | ||
LinearTransform, | ||
ARDTransform, | ||
IdentityTransform, | ||
FunctionTransform, | ||
PeriodicTransform | ||
|
||
export NystromFact, nystrom | ||
|
||
|
@@ -59,7 +66,6 @@ using StatsFuns: logtwo | |
using InteractiveUtils: subtypes | ||
using StatsBase | ||
|
||
|
||
abstract type Kernel end | ||
abstract type SimpleKernel <: Kernel end | ||
|
||
|
@@ -113,10 +119,10 @@ include("zygote_adjoints.jl") | |
include("test_utils.jl") | ||
|
||
function __init__() | ||
@require Kronecker="2c470bb0-bcc8-11e8-3dad-c9649493f05e" begin | ||
@require Kronecker = "2c470bb0-bcc8-11e8-3dad-c9649493f05e" begin | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems a bit inconsistent to add whitespace here, compared with the conventions for keyword arguments - is this according to BlueStyle or a JuliaFormatter thing? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree. I suspect this is a JuliaFormatter (or CSTParser) issue |
||
include(joinpath("matrix", "kernelkroneckermat.jl")) | ||
end | ||
@require PDMats="90014a1f-27ba-587c-ab20-58faa44d9150" begin | ||
@require PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150" begin | ||
include(joinpath("matrix", "kernelpdmat.jl")) | ||
end | ||
end | ||
|
Uh oh!
There was an error while loading. Please reload this page.