8000 continuation line over-indented for hanging indent, and lambda logical · Issue #350 · googleapis/python-dialogflow · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

continuation line over-indented for hanging indent, and lambda logical #350

@slowy07

Description

@slowy07

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

If you are still having issues, please be sure to include as much information as possible:

  • fixed indentation to much from fixup_dialogflow_v2_keywords.py
  • the lambda function on fixup_dialogflow_v2_keywords.py should not lambda a: not a.keyword.value in self.CTRL_PARAMS

Environment details

  • OS type and version: linux arch
  • Python version: python 3.8.10
  • pip version: pip 20.0.2
  • google-cloud-dialogflow version: 2.7.0

Steps to reproduce

  1. remove indentation
  2. change to lambda a: a.keyword.value not in self.CTRL_PARAMS

Code example

from

kwargs, ctrl_kwargs = partition(
            lambda a: not a.keyword.value in self.CTRL_PARAMS,
            kwargs
        )

to

kwargs, ctrl_kwargs = partition(
            lambda a: a.keyword.value not in self.CTRL_PARAMS,
            kwargs
        )

Stack trace

./scripts/fixup_dialogflow_v2_keywords.py:42:13: E126 continuation line over-indented for hanging indent

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: dialogflowIssues related to the googleapis/python-dialogflow API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0