Pass on line length to Black
This commit is contained in:
parent
13cc5160fa
commit
d0b5e742d2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue