Is your enhancement proposal related to a problem? Please describe.
Checkpatch can be used on patches, and it is a great feature, that it is available as GH action. We are using it to check patches in repository which has not ordered structure: mdadm repo
and it is needed to exclude some directories with bash tests, systemd files etc. to not check them while checkpatch review. In main directory we have also few files, which we don't want to check: udev-rules, documentation, test - bash script.
Describe the solution you'd like
It would be great if checkpatch.conf will contain flag to exclude files, or exisiting --exclude flag will be extended to files, not only directories.
Is your enhancement proposal related to a problem? Please describe. Checkpatch can be used on patches, and it is a great feature, that it is available as GH action. We are using it to check patches in repository which has not ordered structure: mdadm repo and it is needed to exclude some directories with bash tests, systemd files etc. to not check them while checkpatch review. In main directory we have also few files, which we don't want to check: udev-rules, documentation, test - bash script.
Describe the solution you'd like It would be great if checkpatch.conf will contain flag to exclude files, or exisiting --exclude flag will be extended to files, not only directories.
Additional context Commit introducing --exclude flag