choose icon indicating copy to clipboard operation
choose copied to clipboard

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

Open abmfy opened this issue 2 years ago • 0 comments

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

abmfy avatar Jul 15 '23 03:07 abmfy