Commit graph

2 commits

Author SHA1 Message Date
Christopher Pickering
f5334bb931
restructured code. closes #111 2021-10-14 13:19:48 +03:00
Mathias Jakobsen
ed3951838f
Add require_pragma option
This patch adds a configuration option for requiring files to have a
pragma comment at the beginning of the file in order to reformat the
file. This behaviour is useful for a slow adoption of the tool instead
of requiring the whole codebase to be converted at once.

The patch also contains tests for the different kinds of supported
pragma comments, based on the profile defined for the project.
2021-10-13 15:30:10 +01:00