Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/analysis-model
  Commit: 666a98a0540d8e9e25c856e8c7b59765766d4515
      
https://github.com/jenkinsci/analysis-model/commit/666a98a0540d8e9e25c856e8c7b59765766d4515
  Author: Michael Weiss <michael.we...@atos.net>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M SUPPORTED-FORMATS.md
    M src/main/java/edu/hm/hafner/analysis/registry/PyLintDescriptor.java

  Log Message:
  -----------
  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


  Commit: 0991fa31102aebab22f9839779871267070317de
      
https://github.com/jenkinsci/analysis-model/commit/0991fa31102aebab22f9839779871267070317de
  Author: Ullrich Hafner <ullrich.haf...@gmail.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M SUPPORTED-FORMATS.md
    M src/main/java/edu/hm/hafner/analysis/registry/PyLintDescriptor.java

  Log Message:
  -----------
  Merge pull request #933 from primeos-work/improve-pylint-descriptor-help-text

Update the help text for the Pylint descriptor


Compare: 
https://github.com/jenkinsci/analysis-model/compare/ede6ea0696ef...0991fa31102a

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/analysis-model/push/refs/heads/master/ede6ea-0991fa%40github.com.

Reply via email to