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

Add possibility to work with command line tool #3

Open
AlexeySanko opened this issue Jul 24, 2018 · 0 comments
Open

Add possibility to work with command line tool #3

AlexeySanko opened this issue Jul 24, 2018 · 0 comments

Comments

@AlexeySanko
Copy link
Owner

AlexeySanko commented Jul 24, 2018

According pylint-dev/pylint#1763 PyLint doesn't support Python<3.4 since 2.0.0. We should add property pylint_use_command_line_tool for usage command line tool instead of Python import usage. It will provide possibility to use PyLint with Python3 into parallel for Python2 projects.
PS. Do not forget to remove project.depends_on('pylint') and add assert check (command line tool or import according property pylint_use_command_line_tool).

Like https://github.com/pybuilder/pybuilder/blob/master/src/main/python/pybuilder/plugins/python/pylint_plugin.py#L35

@after("prepare")
def check_pylint_availability(logger):
    logger.debug("Checking availability of pylint")
    assert_can_execute(("pylint", ), "pylint", "plugin python.pylint")
    logger.debug("pylint has been found")
@AlexeySanko AlexeySanko changed the title Add possibility Add possibility to work with command line tool Jul 24, 2018
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