Open ghost opened 6 years ago
I have the same concern.
I like the python fixer 'black' very much, except it enforces you to use double quotes instead of single ones. When using terminal command, one could add the option --skip-string-normalization
to skip such fixes. However, it seems that ale doesn't support these features. Sad.
I use two fixers for python
autopep8
andyapf
that they overlap some options - able to disable fromautopep8
's option but re-enabled withyapf
. I can't pass its options to ale, I checked document, please add it.
Btw, since yapf is configurable, I think you can use yapf solely and get rid of autopep8 now.
This is one example I found on Gist of how to customise yapf:- (Python) yapf configuration file, and also google/yapf. You can do it by creating a new directory at ~/.config/yapf
and name it style
.
Best Wishes.
Yes, it is, I use yapf only.
Feel free to create pull request for this.
I use two fixers for python
autopep8
andyapf
that they overlap some options - able to disable fromautopep8
's option but re-enabled withyapf
. I can't pass its options to ale, I checked document, please add it.