Skip to content

Commit 71eef76

Browse files
committed
Disable some pylint checks that are also checked by flake8
Flake8 is faster, so we prefer it. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent ac96b0b commit 71eef76

File tree

7 files changed

+28
-0
lines changed

7 files changed

+28
-0
lines changed

cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ disable = [
158158
# pylint's unsubscriptable check is buggy and is not needed because
159159
# it is a type-check, for which we already have mypy.
160160
"unsubscriptable-object",
161+
# Checked by flake8
162+
"line-too-long",
163+
"unused-variable",
164+
"unnecessary-lambda-assignment",
161165
]
162166

163167
[tool.pytest.ini_options]

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ disable = [
151151
# pylint's unsubscriptable check is buggy and is not needed because
152152
# it is a type-check, for which we already have mypy.
153153
"unsubscriptable-object",
154+
# Checked by flake8
155+
"line-too-long",
156+
"unused-variable",
157+
"unnecessary-lambda-assignment",
154158
]
155159

156160
[tool.mypy]

tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ disable = [
132132
# pylint's unsubscriptable check is buggy and is not needed because
133133
# it is a type-check, for which we already have mypy.
134134
"unsubscriptable-object",
135+
# Checked by flake8
136+
"line-too-long",
137+
"unused-variable",
138+
"unnecessary-lambda-assignment",
135139
]
136140

137141
[tool.pytest.ini_options]

tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ disable = [
127127
# pylint's unsubscriptable check is buggy and is not needed because
128128
# it is a type-check, for which we already have mypy.
129129
"unsubscriptable-object",
130+
# Checked by flake8
131+
"line-too-long",
132+
"unused-variable",
133+
"unnecessary-lambda-assignment",
130134
]
131135

132136
[tool.pytest.ini_options]

tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ disable = [
131131
# pylint's unsubscriptable check is buggy and is not needed because
132132
# it is a type-check, for which we already have mypy.
133133
"unsubscriptable-object",
134+
# Checked by flake8
135+
"line-too-long",
136+
"unused-variable",
137+
"unnecessary-lambda-assignment",
134138
]
135139

136140
[tool.pytest.ini_options]

tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ disable = [
128128
# pylint's unsubscriptable check is buggy and is not needed because
129129
# it is a type-check, for which we already have mypy.
130130
"unsubscriptable-object",
131+
# Checked by flake8
132+
"line-too-long",
133+
"unused-variable",
134+
"unnecessary-lambda-assignment",
131135
]
132136

133137
[tool.pytest.ini_options]

tests_golden/integration/test_cookiecutter_generation/model/frequenz-model-test/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ disable = [
132132
# pylint's unsubscriptable check is buggy and is not needed because
133133
# it is a type-check, for which we already have mypy.
134134
"unsubscriptable-object",
135+
# Checked by flake8
136+
"line-too-long",
137+
"unused-variable",
138+
"unnecessary-lambda-assignment",
135139
]
136140

137141
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)