Skip to content

Commit 5358b4f

Browse files
author
Francisco Liberal
committed
fix: Pre-commit formatting fixes
1 parent dd65b6d commit 5358b4f

File tree

11 files changed

+9
-18
lines changed

11 files changed

+9
-18
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ docs/** text eol=lf
2525
*.jpg binary
2626
*.jpeg binary
2727
*.gif binary
28-

.github/pull_request_template.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
## Checklist
1414
- [ ] Code formatted (`dotnet format`)
1515
- [ ] Documentation updated
16-

examples/AspNetCoreExample/AspNetCoreExample.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
<ProjectReference Include="..\..\src\ArcadeDotnet\ArcadeDotnet.csproj" />
88
</ItemGroup>
99
</Project>
10-

examples/AspNetCoreExample/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@
2525
});
2626

2727
app.Run();
28-

examples/AspNetCoreExample/appsettings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
"ApiKey": "your-api-key-here"
44
}
55
}
6-

examples/BasicExample/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static async Task Main(string[] args)
3535

3636
var result = await client.Tools.Execute(executeParams);
3737
result.Validate();
38-
38+
3939
Console.WriteLine($"✅ Tool executed successfully!");
4040
Console.WriteLine($" Execution ID: {result.ExecutionID}");
4141
Console.WriteLine($" Status: {result.Status}");
@@ -70,7 +70,7 @@ static async Task Main(string[] args)
7070
Console.WriteLine(" Authorizing tool access...");
7171
var authResponse = await client.Tools.Authorize(authorizeParams);
7272
authResponse.Validate();
73-
73+
7474
Console.WriteLine($" ✅ Authorization initiated!");
7575
if (authResponse.Status != null)
7676
{
@@ -81,7 +81,7 @@ static async Task Main(string[] args)
8181
Console.WriteLine($" OAuth URL: {authResponse.URL}");
8282
}
8383
Console.WriteLine($" Note: Complete OAuth flow, then use UserID in Execute()");
84-
84+
8585
// After OAuth completes, execute with UserID:
8686
// var executeParams = new ToolExecuteParams
8787
// {
@@ -108,7 +108,7 @@ static async Task Main(string[] args)
108108
tools.Validate();
109109
var count = tools.Items?.Count ?? 0;
110110
Console.WriteLine($"✅ Found {count} available tools");
111-
111+
112112
if (tools.Items != null && tools.Items.Count > 0)
113113
{
114114
Console.WriteLine($" First tool: {tools.Items[0].Name}");

src/ArcadeDotnet.Tests/ArcadeClientEdgeCasesTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,3 @@ public void Constructor_Parameterless_WithInvalidEnvironmentBaseUrl_ShouldUseDef
154154
}
155155
}
156156
}
157-

src/ArcadeDotnet/ArcadeClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ public ArcadeClient(ArcadeClientOptions options)
141141
ArgumentNullException.ThrowIfNull(options);
142142

143143
// Configure base URL
144-
BaseUrl = options.BaseUrl
144+
BaseUrl = options.BaseUrl
145145
?? new Uri(ArcadeClientOptions.DefaultBaseUrl);
146146

147147
// Configure API key (required)
148-
APIKey = options.ApiKey
148+
APIKey = options.ApiKey
149149
?? throw new ArcadeInvalidDataException(
150150
$"API key is required. Set via {nameof(ArcadeClientOptions)}.{nameof(ArcadeClientOptions.ApiKey)} " +
151151
$"or {ArcadeClientOptions.ApiKeyEnvironmentVariable} environment variable.");

src/ArcadeDotnet/ArcadeClientFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ public static ArcadeClient Create(string apiKey)
3939
}
4040

4141
}
42-

src/ArcadeDotnet/ArcadeClientOptions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public sealed record ArcadeClientOptions
5353
{
5454
if (string.IsNullOrEmpty(url))
5555
return null;
56-
56+
5757
try
5858
{
5959
return new Uri(url);
@@ -64,4 +64,3 @@ public sealed record ArcadeClientOptions
6464
}
6565
}
6666
}
67-

0 commit comments

Comments
 (0)