Skip to content

Syntax warnings due to comparison of literals using is #167

@tirkarthi

Description

@tirkarthi
find . -iname '*.py' | grep -v example | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./tests/tests.py:266: SyntaxWarning: "is" with a literal. Did you mean "=="?
  self.jpg.optional_image.field.storage.size(

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