Commit Graph

3 Commits

Author SHA1 Message Date
Alon Bar-Lev baf22da660 style: apply end-of-file-fixer
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Jeremiah Leary c7de28e77c
Issue#1065: Adding 'require_blank_line_unless_pragma' to blank line rules (#1068)
* Issue#1065:  Adding 'require_blank_line_unless_pragma' to blank line rules.

* Adding blank line rules for pragmas:

  * pragma_400
  * pragma_401
  * pragma_402
  * pragma_403

* Updating pragma documentation.

* Adding error checking on invalid pragma configurations.

* Fixing failing tests.
2023-12-17 16:59:55 -06:00
Jeremiah Leary 5c85734a07
Issue#1054: Adding classification of pragmas. (#1056)
* Issue#1054:  Adding classification of pragmas.

* fix 'keyError: regexp' by dStyle having parse regexp and dConfig not (#1058)

* Adding pragma configuration tests.

* Stopping pragma search if a match is found.

* Refactoring classifications of pragmas to improve performance.

---------

Co-authored-by: Gerard Sharp <43923557+SittingDuc@users.noreply.github.com>
2023-12-03 21:09:52 -06:00