feat: streamline release workflow and remove unnecessary warnings in test files

This commit is contained in:
Miha Kralj
2026-01-21 23:27:03 -06:00
parent da4e56bf40
commit 0c3b944485
9 changed files with 21 additions and 21 deletions
-2
View File
@@ -11,7 +11,6 @@ namespace QuanTAlib;
/// </summary>
[SkipLocalsInit]
#pragma warning disable S101 // Rename class 'GBM' to match pascal case naming rules
#pragma warning disable S2245 // Random is acceptable for simulation/testing purposes
public sealed class GBM : IFeed
#pragma warning restore S101
{
@@ -406,4 +405,3 @@ public sealed class GBM : IFeed
_lastTime = currentTime - timeStep; // Last bar time, not next bar time
}
}
#pragma warning restore S2245
-1
View File
@@ -1,6 +1,5 @@
namespace QuanTAlib.Tests;
#pragma warning disable S2245 // Random is acceptable for simulation/testing purposes
public class BesselTests
{
[Fact]
-1
View File
@@ -1,6 +1,5 @@
namespace QuanTAlib.Tests;
#pragma warning disable S2245 // Random is acceptable for simulation/testing purposes
public class SsfTests
{
[Fact]
-1
View File
@@ -1,6 +1,5 @@
namespace QuanTAlib.Tests;
#pragma warning disable S2245 // Random is acceptable for simulation/testing purposes
public class PwmaTests
{
[Fact]
-1
View File
@@ -1,6 +1,5 @@
namespace QuanTAlib.Tests;
#pragma warning disable S2245 // Random is acceptable for simulation/testing purposes
public class SmaTests
{
[Fact]
-1
View File
@@ -1,7 +1,6 @@
namespace QuanTAlib.Tests;
#pragma warning disable S2245 // Random is acceptable for simulation/testing purposes
public class DemaTests
{
[Fact]
-1
View File
@@ -1,6 +1,5 @@
namespace QuanTAlib.Tests;
#pragma warning disable S2245 // GBM provides deterministic random walks for testing; System.Random usage is controlled
public class EmaTests
{
[Fact]
-1
View File
@@ -1,6 +1,5 @@
namespace QuanTAlib.Tests;
#pragma warning disable S2245 // Random is acceptable for simulation/testing purposes
public class RmaTests
{
[Fact]