File: new-hacking-check-no-log-translations-4a430a38aeb06452.yaml

package info (click to toggle)
python-neutron-lib 3.21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,660 kB
  • sloc: python: 22,829; sh: 137; makefile: 24
file content (14 lines) | stat: -rw-r--r-- 633 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
features:
  - |
    New ``N537`` hacking check is introduced that enforces no logging message
    translations, in any logging level. The check is enabled by default. Also,
    the ``N533`` hacking check is now removed because it is covered by
    ``N537``.
upgrade:
  - |
    Library consumers may need to adopt their code to new requirements of ``N537`` hacking check,
    removing translation markers from all logging messages. If for some reason
    it doesn't fit the project, consumers can disable the new hacking check
    using ``ignore`` statement in ``flake8`` section of their ``tox.ini`` file,
    or by other means.