GNU bug report logs - #62303
guix style frequently wraps lines beyond 80 characters limit

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 20 Mar 2023 21:21:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 62303 <at> debbugs.gnu.org
Subject: bug#62303: guix style frequently wraps lines beyond 80 characters limit
Date: Mon, 20 Mar 2023 23:38:16 -0400
Hello,

Here's another example, on mygnuhealth (just committed):

--8<---------------cut here---------------start------------->8---
modified   gnu/packages/medical.scm
@@ -46,19 +46,19 @@ (define-public mygnuhealth
                 "1jcrriccqzb4jx7zayhiqmpvi3cvfy3bbf9zr3m83878f94yww8j"))))
     (build-system python-build-system)
     (arguments
-     (list
-      #:imported-modules `(,@%python-build-system-modules
-                           ,@%qt-build-system-modules)
-      #:modules `(((guix build qt-build-system) #:prefix qt:)
-                  (guix build python-build-system)
-                  (guix build utils))
-      #:phases #~(modify-phases %standard-phases
-                   (add-after 'install 'qt-wrap
-                     (assoc-ref qt:%standard-phases 'qt-wrap))
-                   (add-before 'check 'env-setup
-                     (lambda _
-                       (mkdir-p "/tmp/mygh/")
-                       (setenv "HOME" "/tmp"))))))
+     (list #:imported-modules `(,@%python-build-system-modules ,@%qt-build-system-modules)
+           #:modules `(((guix build qt-build-system)
+                        #:prefix qt:)
+                       (guix build python-build-system)
+                       (guix build utils))
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'install 'qt-wrap
+                          (assoc-ref qt:%standard-phases
+                                     'qt-wrap))
+                        (add-before 'check 'env-setup
+                          (lambda _
+                            (mkdir-p "/tmp/mygh/")
+                            (setenv "HOME" "/tmp"))))))
     (native-inputs (list python-pyside-2))
     (inputs (list bash-minimal
                   kirigami
--8<---------------cut here---------------end--------------->8---

The max width reaches 90 characters.

-- 
Thanks,
Maxim




This bug report was last modified 2 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.