diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-09-18 21:49:51 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-09-18 21:54:04 +0200 |
commit | e0566f12f8b57f3311c9aba1737e791763e89544 (patch) | |
tree | bac87e3ddaab353624b46008d0bc9b7065c9139c /gnu | |
parent | 24a848c8e36e762968e6e2803a72ae570e9edbec (diff) | |
download | guix-e0566f12f8b57f3311c9aba1737e791763e89544.tar.gz guix-e0566f12f8b57f3311c9aba1737e791763e89544.zip |
lint: Report lonely parentheses.
* guix/scripts/lint.scm (%hanging-paren-rx): New variable.
(report-lone-parentheses): New procedure.
(%formatting-reporters): Use it.
* tests/lint.scm ("formatting: lonely parentheses"): New test.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions