Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the help text for the Pylint descriptor
The `msg-template` setting only works in the pylintrc configuration file if it is under the `[REPORTS]` section header [0]. Otherwise the setting gets ignored: ``` $ cat ./pylintrc msg-template={path}:{module}:{line}: [{msg_id}({symbol}), {obj}] {msg} $ pylint --rcfile=./pylintrc test.py ************* Module pylintrc pylintrc:1:0: F0011: error while parsing the configuration: File contains no section headers. file: 'pylintrc', line: 1 'msg-template={path}:{module}:{line}: [{msg_id}({symbol}), {obj}] {msg}\n' (config-parse-error) [...] ``` Using the `--msg-template` CLI option is more convenient for the usage inside Jenkins pipelines. [0]: https://github.com/pylint-dev/pylint/blob/v2.17.4/examples/pylintrc#L481
- Loading branch information