1
0
Fork 0

Pass on line length to Black

This commit is contained in:
Tom Willemse 2019-02-01 00:46:09 -08:00
parent 13cc5160fa
commit d0b5e742d2

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190131153854 ;; Version: 20190201004304
;; Package-Requires: (company-jedi fill-column-indicator flycheck rainbow-delimiters reformatter) ;; Package-Requires: (company-jedi fill-column-indicator flycheck rainbow-delimiters reformatter)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -50,7 +50,7 @@ The values are taken from the PEP8 coding standard for Python."
(reformatter-define python-black (reformatter-define python-black
:program "black" :program "black"
:args "-" :args `("--line-length" ,(number-to-string fill-column) "-")
:lighter "" :lighter ""
:group 'python-black) :group 'python-black)