1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Internal tooling
================
The ``devtools`` directory contains small helpers used during development
and in continuous integration. One of them is ``rsyslog_stylecheck.py``
which verifies adherence to the coding style.
Usage::
python3 devtools/rsyslog_stylecheck.py [options] [files...]
When no file is specified the script recursively scans the current
working directory. The ``--max-errors`` option controls how many errors
are displayed. Use a number to limit the output or ``all`` to disable
the limit. The default is 100.
The checker reports trailing whitespace, invalid indentation and lines
that exceed the allowed length. It exits with a non-zero status when
violations are found.
|