Comments (6)
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.
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 releaseAs 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.
@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.
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.
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.
Awesome!
from prospector.
Related Issues (20)
- [BUG]Cannot run tool bandit as support was not installed. HOT 4
- [BUG] Mypy is described as experimental when it's now stable HOT 1
- [BUG] prospector2 won't install on Windows apparently since using forward slash instead of os.path.join HOT 1
- Prospector 1.10.2 does not support `with_mypy` optional tool [in conda] HOT 5
- [BUG] prospector fails when pyproject.toml contain multiple constraints dependencies
- [FEATURE REQUEST] MyPy check-untyped-defs option.
- [BUG] Incorrect additional_dependencies documentation to run prospector as a pre-commit hook with mypy support HOT 2
- [BUG] toml support is incomplete HOT 1
- [PKG SUPPORT] `pylint <3` and Python 3.12 HOT 11
- [PKG SUPPORT] changes for support of `flake >=6.0.0` (and Python 3.12, implicit) HOT 3
- [BUG] pre-commit hook fails on Python 3.12 because of deprecated pkg_resources HOT 3
- [BUG] False positive E231 error in pycodestyle HOT 3
- [BUG] Fatal error pylint: astroid-error HOT 1
- [FEATURE REQUEST] How to use `prospector` on a string
- [BUG] missing dependency: setuptools HOT 1
- [BUG] Crash with ValueError HOT 1
- [BUG] prospector fails with UnicodeDecodeError on requirements.txt having DOS (CRLF) line endings HOT 2
- [BUG] `prospector[with_pyroma]` not appearing to install pyroma when creating conda environments
- [FEATURE REQUEST] Baseline generation
- [BUG] Strange errors with python version 3.12.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prospector.