Skip to content

Commit 8ca05c6

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 fe42323 commit 8ca05c6

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
@@ -155,6 +155,10 @@ disable = [
155155
# pylint's unsubscriptable check is buggy and is not needed because
156156
# it is a type-check, for which we already have mypy.
157157
"unsubscriptable-object",
158+
# Checked by flake8
159+
"line-too-long",
160+
"unused-variable",
161+
"unnecessary-lambda-assignment",
158162
]
159163

160164
[tool.pytest.ini_options]

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ disable = [
147147
# pylint's unsubscriptable check is buggy and is not needed because
148148
# it is a type-check, for which we already have mypy.
149149
"unsubscriptable-object",
150+
# Checked by flake8
151+
"line-too-long",
152+
"unused-variable",
153+
"unnecessary-lambda-assignment",
150154
]
151155

152156
[[tool.mypy.overrides]]

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
@@ -126,6 +126,10 @@ disable = [
126126
# pylint's unsubscriptable check is buggy and is not needed because
127127
# it is a type-check, for which we already have mypy.
128128
"unsubscriptable-object",
129+
# Checked by flake8
130+
"line-too-long",
131+
"unused-variable",
132+
"unnecessary-lambda-assignment",
129133
]
130134

131135
[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)