Skip to content

Commit

Permalink
fix(test): flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoshihou514 committed Sep 15, 2023
1 parent fb9f543 commit f577901
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/linter/flake8_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('flake8', function()
end_lnum = 0,
lnum = 0,
message = "'os' imported but unused [401]",
namespace = 4,
namespace = 1,
severity = 3,
source = 'flake8',
},
Expand All @@ -31,7 +31,7 @@ describe('flake8', function()
end_lnum = 2,
lnum = 2,
message = 'expected 2 blank lines, found 1 [302]',
namespace = 4,
namespace = 1,
severity = 1,
source = 'flake8',
},
Expand All @@ -42,7 +42,7 @@ describe('flake8', function()
end_lnum = 4,
lnum = 4,
message = 'indentation is not a multiple of 4 [111]',
namespace = 4,
namespace = 1,
severity = 1,
source = 'flake8',
},
Expand All @@ -53,7 +53,7 @@ describe('flake8', function()
end_lnum = 4,
lnum = 4,
message = 'over-indented [117]',
namespace = 4,
namespace = 1,
severity = 1,
source = 'flake8',
},
Expand All @@ -64,7 +64,7 @@ describe('flake8', function()
end_lnum = 4,
lnum = 4,
message = 'multiple spaces after keyword [271]',
namespace = 4,
namespace = 1,
severity = 1,
source = 'flake8',
},
Expand All @@ -75,7 +75,7 @@ describe('flake8', function()
end_lnum = 4,
lnum = 4,
message = "undefined name 'bar' [821]",
namespace = 4,
namespace = 1,
severity = 3,
source = 'flake8',
},
Expand All @@ -86,7 +86,7 @@ describe('flake8', function()
end_lnum = 5,
lnum = 5,
message = 'expected 2 blank lines after class or function definition, found 0 [305]',
namespace = 4,
namespace = 1,
severity = 1,
source = 'flake8',
},
Expand All @@ -97,7 +97,7 @@ describe('flake8', function()
end_lnum = 5,
lnum = 5,
message = 'line too long (80 > 79 characters) [501]',
namespace = 4,
namespace = 1,
severity = 1,
source = 'flake8',
},
Expand Down

0 comments on commit f577901

Please sign in to comment.