diff --git a/.github/pre-commit-config.yaml b/.github/pre-commit-config.yaml deleted file mode 100644 index 5bb94b6..0000000 --- a/.github/pre-commit-config.yaml +++ /dev/null @@ -1,15 +0,0 @@ -repos: -- repo: https://github.com/pycqa/isort - rev: 5.12.0 - hooks: - - id: isort - args: ["--profile", "black", "--line-length=79"] -- repo: https://github.com/psf/black - rev: 22.3.0 - hooks: - - id: black -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 - hooks: - - id: flake8 - args: ['--ignore=E203,W503', '--max-line-length=120'] # see https://github.com/psf/black/issues/315 https://github.com/psf/black/issues/52 diff --git a/kedro_vertexai/context_helper.py b/kedro_vertexai/context_helper.py index f625117..c0a40c5 100644 --- a/kedro_vertexai/context_helper.py +++ b/kedro_vertexai/context_helper.py @@ -129,7 +129,8 @@ def config(self) -> PluginConfig: ) else: raise ValueError( - "Missing vertexai.yml files in configuration. Make sure that you configure your project first" + "Missing vertexai.yml files in configuration. " + "Make sure that you configure your project first" ) return PluginConfig.parse_obj(vertex_conf) diff --git a/kedro_vertexai/grouping.py b/kedro_vertexai/grouping.py index a21c3d9..bce1670 100644 --- a/kedro_vertexai/grouping.py +++ b/kedro_vertexai/grouping.py @@ -91,7 +91,8 @@ def group(self, node_dependencies: PipelineDependenciesDict) -> Grouping: ] if len(grouping_tags) > 1: raise GroupingException( - f"Inconsistent tagging for grouping, multiple tags with grouping prefix found in node {name}" + "Inconsistent tagging for grouping, multiple tags" + f"with grouping prefix found in node {name}" ) # 1 or 0 loop for tag in grouping_tags: