Skip to content

SyntaxWarning over comparison of literals using is #140

@tirkarthi

Description

@tirkarthi
find . -iname '*.py' | grep -v example | xargs -P 4 -I{} python3.8 -Wall -m py_compile {}
./kappa/restapi.py:128: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if full_path is '':

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