pint.ok --no-color lint --min-severity=info rules
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=INFO msg="Finding all rules to check" paths=["rules"]
rules/0001.yml:7 Information: Using the value of `rate(errors[2m])` inside this annotation might be hard to read, consider using one of humanize template functions to make it more human friendly. (alerts/template)
 7 |       summary: 'error rate: {{ $value }}'

level=INFO msg="Problems found" Information=1
-- rules/0001.yml --
groups:
- name: foo
  rules:
  - alert: foo
    expr: rate(errors[2m]) > 0
    annotations:
      summary: 'error rate: {{ $value }}'
