Skip to main content

plugin for the metrics package (extracts pylint_score for Python code)

Project description

License GitHub issues

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


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)

Uploaded Source

File details

Details for the file metrics.pylint-0.0.3.tar.gz.

File metadata

File hashes

Hashes for metrics.pylint-0.0.3.tar.gz
Algorithm Hash digest
SHA256 571d21a6655b80a8deeff0a387b75e357836f3491904928ffe63f7a2341b2f6b
MD5 76d8319df2697adf980591b929b92c22
BLAKE2b-256 e461dc80f0e3984e4058aea87ea4b230b796d60c8a7441b81d9282e01baf66f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page