plugin for the metrics package (extracts pylint_score for Python code)
Project description
installation
to install:
$ pip install metrics.pylint
to uninstall:
$ pip uninstall metrics.pylint
for details please see the documentation of metrics.
metrics.pylint
The matrics.gitinfo package is a plugin for the metrics package.
metrics.pylint adds a pylint_score to file metrics for all python files:
"tests/test_sloc_python.py": {
"comments": 8,
"language": "Python",
"mccabe": 0,
"positions": [],
"pylint_score": 6.67,
"ratio_comment_to_code": 0.24,
"sloc": 33
}
Acknowledgements
alecxe for a recipe on how to use pylint programmatically and how to extract the pylint score: https://stackoverflow.com/questions/39453828/extracting-pylint-score
License
Copyright (c) 2018 Mark Fink and others. metrics is released under the MIT License (see MIT_LICENSE).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
metrics.pylint-0.0.3.tar.gz
(3.7 kB
view details)
File details
Details for the file metrics.pylint-0.0.3.tar.gz
.
File metadata
- Download URL: metrics.pylint-0.0.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 571d21a6655b80a8deeff0a387b75e357836f3491904928ffe63f7a2341b2f6b |
|
MD5 | 76d8319df2697adf980591b929b92c22 |
|
BLAKE2b-256 | e461dc80f0e3984e4058aea87ea4b230b796d60c8a7441b81d9282e01baf66f4 |