From 15ceb571c3b83b82091c89650aabebf2e7a416cb Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 17 Nov 2024 04:21:33 +0000 Subject: [PATCH] style: format code with ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, PHP CS Fixer, RuboCop, Ruff Formatter, Rustfmt, StandardRB and swift-format (#589) * style: format code with ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, PHP CS Fixer, RuboCop, Ruff Formatter, Rustfmt, StandardRB and swift-format This commit fixes the style issues introduced in e1c08ac according to the output from ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, PHP CS Fixer, RuboCop, Ruff Formatter, Rustfmt, StandardRB and swift-format. Details: None * CSharpier format --------- Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> Co-authored-by: gstraccini[bot] <150967461+gstraccini[bot]@users.noreply.github.com> --- .config/dotnet-tools.json | 2 +- examples/dotnet/Program.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 67322957..aabb059c 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.29.1", + "version": "0.29.2", "commands": [ "dotnet-csharpier" ], diff --git a/examples/dotnet/Program.cs b/examples/dotnet/Program.cs index bb889594..2af54635 100644 --- a/examples/dotnet/Program.cs +++ b/examples/dotnet/Program.cs @@ -1,4 +1,3 @@ - namespace ConsoleApp { using System; @@ -48,7 +47,7 @@ private static string GetCompeFromUser() Console.Write("Buscar COMPE (3 dígitos): "); compe = Console.ReadLine(); } while (!IsValidCompe(compe)); - + return compe; }