Pylint-exit is a utility that wraps the `pylint` command, providing enhanced control over its exit codes. It allows users to define which `pylint` message types (e.g., errors, warnings, refactors) should result in a non-zero exit code, which is crucial for CI/CD pipelines. The current version is 1.2.0, with releases typically tied to significant `pylint` changes or feature additions.
pip install pylint-exitNo compatibility data collected yet for this library.
This quickstart demonstrates installing `pylint` and `pylint-exit`, then running `pylint-exit` against a sample file. It shows how to use the `--fatal-message` argument to specify which pylint message types should cause a non-zero exit code.
Ensure `pip install pylint` has been run before using `pylint-exit`.
Upgrade `pylint-exit` to version 1.1.0 or newer using `pip install --upgrade pylint-exit`.
Review and update CI/CD configurations to align with `pylint-exit`'s intended exit code behavior, especially when specifying `--fatal-message`.
Install `pylint-exit` using `pip install pylint-exit`. If installed in a virtual environment, ensure the environment is activated.
Upgrade `pylint-exit` to version 1.1.0 or newer: `pip install --upgrade pylint-exit`.
Install `pylint` separately using `pip install pylint`. Ensure `pylint` is available in the same environment where you are running `pylint-exit`.