Skip to content

Fix PEP-8 #2

Description

@shorodilov

if names != None and type(names) == dict:

Implementing type(s) checks this way violates PEP-8 rules and has code smells.
The more Python way to do the stuff is:

if isinstance(names, dict):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions