Code Monkey home page Code Monkey logo

Comments (6)

carlio avatar carlio commented on July 21, 2024

Hi @wernight, the exit code change is supported on the development branch and will make it into the next release - see #46

As for plugins, there is a "pylint" output mode for prospector which would hopefully make it useable in place of tools which parse pylint output. See http://prospector.readthedocs.org/en/latest/usage.html#output-format . I have no idea if this works in practise though!

from prospector.

wernight avatar wernight commented on July 21, 2024

Pylint output is text as far as I saw. Most parser use pylint XML output.

Thanks for the exit code, I'll make sure to track next release.

Le mar. 14 oct. 2014 22:57, carlio [email protected] a Γ©crit :

Hi @wernight https://github.com/wernight, the exit code change is
supported on the development branch and will make it into the next release

As for plugins, there is a "pylint" output mode for prospector which would
hopefully make it useable in place of tools which parse pylint output. See
http://prospector.readthedocs.org/en/latest/usage.html#output-format . I
have no idea if this works in practise though!

β€”
Reply to this email directly or view it on GitHub
#50 (comment)
.

from prospector.

carlio avatar carlio commented on July 21, 2024

@wernight I've been testing, and you can use the output of prospector with the Jenkins violations plugin. I'll post some instructions on the landscape blog but it's quite simple:

prospector --output-format pylint > prospector.log

Then point the pylint section of the violations plugin at the prospector output.

It's not perfect - all errors are recognised as 'medium' severity - but it's good enough for now. I'll see if I can dust off my Java skills and add a pull request to the Violations plugin.

from prospector.

carlio avatar carlio commented on July 21, 2024

I'll close this issue, as the exit code is now implemented in release 0.7, and the XML output is covered by #32.

from prospector.

carlio avatar carlio commented on July 21, 2024

Here is the blog post with information about how to get prospector running in Jenkins:
http://blog.landscape.io/using-prospector-in-jenkins-the-slightly-hacky-version.html

from prospector.

wernight avatar wernight commented on July 21, 2024

Awesome!

from prospector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.