No linter plugins seem to run from my pyBuild run. I can use either

use_plugin("python.distutils")

or

use_plugin("python.flake8")

but when the pyBuilder run is finished, it says: Tasks: prepare [2073 ms] compile_sources [0 ms] run_unit_tests [504 ms] package [460 ms] run_integration_tests [0 ms] verify [0 ms ] publish [2164 ms]

Full build.py file:

from pybuilder.core import use_plugin, init

use_plugin("python.core")
use_plugin("python.pylint")
use_plugin("python.install_dependencies")
use_plugin("pypi:pybuilder_pytest")
use_plugin("pypi:pybuilder_pylint_extended")
#use_plugin("pypi:pybuilder_pytest_coverage")
use_plugin("python.distutils")

default_task = "publish"

@init
def initialize(project):
    project.author = "DellEMC"
    project.name = "RPCenter"
    project.set_property('dir_source_main_python', '..\..\services')
    project.get_property("pytest_extra_args").append("-x")
    project.set_property('dir_source_pytest_python', '..\..\services')
    #project.set_property('pytest_coverage_break_build_threshold', 75)
    project.set_property('pylint_options', '["--rcfile=pylintrc.txt", "--reports=n", "../../services"]')

Any ideas?

Thanks.

0 Answers