Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning: "is" with a literal. Did you mean "=="? #5

Open
abmfy opened this issue Jul 15, 2023 · 0 comments
Open

SyntaxWarning: "is" with a literal. Did you mean "=="? #5

abmfy opened this issue Jul 15, 2023 · 0 comments

Comments

@abmfy
Copy link

abmfy commented Jul 15, 2023

On macOS with Python 3.11:

$ docker ps | choose -1
/opt/homebrew/Cellar/choose/0.1.0_4/libexec/bin/choose:138: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(names) is 1:
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant