Skip to content

Python: linter warning E721 on generated _to_json_data function #87

@ericgj

Description

@ericgj

Using the ruff linter, but apparently derived from pycodestyle rule E721, I get lint errors for all lines like if type(data) is dict or if type(data) is list, telling me to use isinstance instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions