diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 50bf6c3..b3fd44b 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.25.0", + "version": "0.26.1", "commands": [ "dotnet-csharpier" ] diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 1e8e249..987d26a 100644 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -3,7 +3,7 @@ LC_ALL=C local_branch="$(git rev-parse --abbrev-ref HEAD)" -valid_branch_regex="^(feature|fix|docs|style|refactor|perf|hotfix|test|chore|create)\/[a-zA-Z0-9._-]+$" +valid_branch_regex="^(dependabot|feature|fix|docs|style|refactor|perf|hotfix|test|chore|create)(\/[a-zA-Z0-9._-]+)+$" message="There is something wrong with your branch name. Branch names in this project must adhere to this contract: $valid_branch_regex. Your commit will be rejected. You should rename your branch to a valid name and try again." @@ -13,4 +13,4 @@ then exit 1 fi -dotnet tool restore && dotnet csharpier . --check \ No newline at end of file +dotnet tool restore && dotnet csharpier . --check diff --git a/Tests/LatLongNet.Tests/LatLongNetClientTests.cs b/Tests/LatLongNet.Tests/LatLongNetClientTests.cs index bfe8901..862323c 100644 --- a/Tests/LatLongNet.Tests/LatLongNetClientTests.cs +++ b/Tests/LatLongNet.Tests/LatLongNetClientTests.cs @@ -1,10 +1,10 @@ +using System.Net; using System.Net.Http; -using FluentAssertions; using System.Threading; using System.Threading.Tasks; +using FluentAssertions; using Moq; using Xunit; -using System.Net; namespace LatLongNet.Tests;