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

Factor out method which returns the final executable #1335

Open
kaste opened this issue Apr 20, 2018 · 0 comments
Open

Factor out method which returns the final executable #1335

kaste opened this issue Apr 20, 2018 · 0 comments
Labels

Comments

@kaste
Copy link
Contributor

kaste commented Apr 20, 2018

Currently build_cmd and in turn get_cmd returns the complete computed cmd. It is useful though to just get the currently configured executable of a linter (type: str or list) so that a user can use our config system to query e.g. the version of such an executable.

This method could be named which_executable(cmd) -> str|list.

This method could be called get_executable() None -> Optional[List[str]]

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

Successfully merging a pull request may close this issue.

1 participant