Skip to content

Commit f9fb928

Browse files
test long line in linter
1 parent 8a397c2 commit f9fb928

File tree

4 files changed

+9
-74
lines changed

4 files changed

+9
-74
lines changed

.EditorConfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ indent_size = 4
66
insert_final_newline = true
77
trim_trailing_whitespace = true
88
charset = utf-8
9-
max_line_length=150
9+
max_line_length = 150
1010

1111
# Interfaces should start with I and PascalCase
1212
dotnet_naming_rule.interfaces_begin_with_I.severity = warning

.github/linters/.editorconfig

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/linter.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
tags:
1414
description: "Linter"
1515
required: false
16-
# permissions: { }
16+
permissions: { }
1717

1818
concurrency:
1919
# older builds for the same pull request number or branch should be cancelled
@@ -24,10 +24,10 @@ jobs:
2424
run-linter:
2525
name: Run linter
2626
runs-on: ubuntu-latest
27-
# permissions:
28-
# contents: read
29-
# packages: read
30-
# statuses: read
27+
permissions:
28+
contents: read
29+
packages: read
30+
statuses: read
3131
steps:
3232
- name: Check out Git repository
3333
uses: actions/checkout@v4
@@ -40,5 +40,5 @@ jobs:
4040
VALIDATE_CHECKOV: false
4141
VALIDATE_JSCPD: false
4242
LINTER_RULES_PATH: .github/linters
43-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444

Snowflake.Data/Core/LinterTestFile.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace Snowflake.Data.Core
1111
{
12-
public Int LinterTestFile
12+
public class LinterTestFile
1313
{
1414
internal ResultFormat ResultFormat { get; }
1515
private int PRIVATEVSAR;
@@ -34,11 +34,7 @@ public Int LinterTestFile
3434

3535
internal virtual void ResdDset(ExecResponseChunk chunkInfo, int chunkIndex)
3636
{
37-
RowCount = chunkInfo.rowCount;
38-
Url = chunkInfo.url;
39-
ChunkIndex = chunkIndex;
40-
CompressedSize = chunkInfo.compressedSize;
41-
UncompressedSize = chunkInfo.uncompressedSize;
37+
RowCount = chunkInfo.rowCount; Url = chunkInfo.url; ChunkIndex = chunkIndex; CompressedSize = chunkInfo.compressedSize; UncompressedSize = chunkInfo.uncompressedSize;
4238
}
4339

4440
internal virtual void ResetForRetry()

0 commit comments

Comments
 (0)