You can do `elif command in ['GoToDefinition', ...]` and then have just one branch. This will also make flake8 happy. And it's nicer code.