topmark.processors.builtins.pound¶
topmark / processors / builtins / pound
Header processor for pound-prefixed comment formats.
This processor supports files using #-style comments, such as Python, shell scripts,
and Makefiles. It delegates header processing to the core pipeline dispatcher.
PoundHeaderProcessor ¶
Bases: LineCommentMixin, HeaderProcessor
Header processor for line-comment # files (uses LineCommentMixin).
This processor handles files that use # for comments, such as Python scripts,
shell scripts, and Makefiles. It processes the header using the pipeline dispatcher.
Respects FileTypeHeaderPolicy for shebang and encoding line handling.