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.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.