Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"fantomas": {
"version": "7.0.6",
"version": "8.1.0",
"commands": [
"fantomas"
]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup .NET SDK v8.0.x
- name: Setup .NET SDK v10.0.x
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x
- name: Prepare .NET tools
run: dotnet tool restore
- name: Run Fantomas
Expand Down
2 changes: 1 addition & 1 deletion ShapeSifter.Test/TestExamples.fs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ module TestExamples =

let head =
match tType<'u> with
| String teq -> (xs |> HList.head |> Teq.castTo teq).ToUpper () |> Teq.castFrom teq
| String teq -> (xs |> HList.head |> Teq.castTo teq).ToUpper() |> Teq.castFrom teq
| _ -> xs |> HList.head

let tail = xs |> HList.tail |> shoutify
Expand Down
2 changes: 1 addition & 1 deletion ShapeSifter/Reflection.fs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module Reflection =
| Lambda (_, e) -> getMethodInfo e
| _ -> failwith "Could not get MethodInfo"

let mi = (getMethodInfo e).GetGenericMethodDefinition ()
let mi = (getMethodInfo e).GetGenericMethodDefinition()

fun ts vs ->
mi.MakeGenericMethod (ts |> Array.ofSeq)
Expand Down
2 changes: 1 addition & 1 deletion ShapeSifter/TypeParameterCrate.fs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module TypeParameterCrate =

let make<'a> =
{ new TypeParameterCrate with
member __.Apply e = e.Eval<'a> ()
member __.Apply e = e.Eval<'a>()
}

let makeUntyped (t : Type) =
Expand Down
2 changes: 1 addition & 1 deletion hooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import subprocess

def check_fantomas():
result = subprocess.run(["dotnet", "fantomas", "--check", "."])
result = subprocess.run(["dotnet", "fantomas", "check", "."])
if result.returncode != 0:
raise Exception(f"Formatting incomplete (return code: {result.returncode}). Consider running `dotnet fantomas .`")

Expand Down
Loading