Skip to content

Commit

Permalink
Merge branch 'main' into feat/enable-plugin-starter-alias
Browse files Browse the repository at this point in the history
  • Loading branch information
noklam authored Jun 8, 2022
2 parents fc4c130 + 8f4b81a commit 56ee39c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
3 changes: 1 addition & 2 deletions docs/source/tutorial/create_pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ def register_pipelines() -> Dict[str, Pipeline]:
"""Register the project's pipeline.
Returns:
A mapping from a pipeline name to a ``Pipeline`` object.
A mapping from a pipeline name to a ``Pipeline`` object.
"""
data_processing_pipeline = dp.create_pipeline()

Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ default_section = "THIRDPARTY"
[tool.pylint.master]
ignore = "CVS"
ignore-patterns = "kedro/templates/*"
load-plugins = "pylint.extensions.docparams"
load-plugins = [
"pylint.extensions.docparams",
"pylint.extensions.no_self_use"
]
unsafe-load-any-extension = false
[tool.pylint.messages_control]
disable = [
"ungrouped-imports",
"bad-continuation",
"duplicate-code"
]
enable = ["useless-suppression"]
Expand Down
5 changes: 4 additions & 1 deletion tests/extras/datasets/pandas/test_hdf_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ def test_thread_lock_usage(self, hdf_data_set, dummy_dataframe, mocker):
mocked_lock.assert_not_called()

hdf_data_set.save(dummy_dataframe)
calls = [mocker.call.__enter__(), mocker.call.__exit__(None, None, None)]
calls = [
mocker.call.__enter__(), # pylint: disable=unnecessary-dunder-call
mocker.call.__exit__(None, None, None),
]
mocked_lock.assert_has_calls(calls)

mocked_lock.reset_mock()
Expand Down
2 changes: 1 addition & 1 deletion tests/pipeline/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def dummy_func_args(**kwargs):
return dummy_func_args, "A", "B"


lambda_identity = lambda input1: input1 # noqa: disable=E731
lambda_identity = lambda input1: input1 # noqa: disable=E731 # pylint: disable=C3001


def lambda_inconsistent_input_size():
Expand Down

0 comments on commit 56ee39c

Please sign in to comment.