Pylint wrapper that verifies code reaches a minimum quality score.
Quick Start
Execute the pylint-fail-under command with the same arguments as a pylint call. In addition, specify the minimum Pylint quality score with the --fail_under argument.
If the Pylint score is greater than the fail under value, the script exits successfully with an exit code of zero. For example:
$ pylint-fail-under --fail_under 9.0 my_package ************* Module my_package my_package\__init__.py:1:0: C0111: Missing module docstring (missing-docstring) ### Pylint output removed for documentation conciseness! ### my_package\tests\test_my_pkg.py:328:0: C0303: Trailing whitespace (trailing-whitespace) ------------------------------------------------------------------ Your code has been rated at 9.49/10 (previous run: 9.49/10, +0.00)
Otherwise, if the Pylint score is under the minimum, the script exits with a non-zero exit code. For example:
$ pylint-fail-under --fail_under 9.75 my_package ************* Module my_package my_package\__init__.py:1:0: C0111: Missing module docstring (missing-docstring) ### Pylint output removed for documentation conciseness! ### my_package\tests\test_my_pkg.py:328:0: C0303: Trailing whitespace (trailing-whitespace) ------------------------------------------------------------------ Your code has been rated at 9.49/10 (previous run: 9.49/10, +0.00) ERROR: score 9.4921875 is less than fail-under value 9.75
Metadata
Release files for pylint-fail-under 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylint-fail-under-0.3.0.tar.gz | 3.5 kB | Without provenance | Details for pylint-fail-under-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylint_fail_under-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for pylint_fail_under-0.3.0-py3-none-any.whl |
Total release size: 9.1 kB
Release files / pylint-fail-under-0.3.0.tar.gz
| Download URL | pylint-fail-under-0.3.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4584c0eb6bf2c3dcf9402c74734a49d3a7a86fbe3590276b517fbcbdcba1333a
|
|
BLAKE2b-256 checksum How to use checksums |
c47f8e0504b90850b36a592a686aa604fdd29b08dd5799decf63792c27210946
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / pylint_fail_under-0.3.0-py3-none-any.whl
| Download URL | pylint_fail_under-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d372e3a698634b48550c4e4af10dc145a6d2c2d9ee26a40690ae635661c85de2
|
|
BLAKE2b-256 checksum How to use checksums |
7a479c0e8a602e940943c4df8f9b62925a393a009ceb1f897b6dbcb4e58d8c6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for pylint-fail-under 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.