Skip to content

pyextract: do not use "is not" with a literal #3

Description

@remytms

I get this warning when running pyextract:

/home/remy/dev/marineelectronics/pyrenderer/pyextract.py:102: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if args.x is not -1 and args.y is not -1:
/home/remy/dev/marineelectronics/pyrenderer/pyextract.py:102: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if args.x is not -1 and args.y is not -1:

Do you accept pull request? I can be in charge of fixing it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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