neoclide / coc-python

Python extension for coc.nvim, fork of vscode-python
574 stars 51 forks source link

How could I write python file without code formatting? #253

Open ngocbh opened 4 years ago

ngocbh commented 4 years ago

Code formatting is useful in general. But sometimes, I just do not want to use it. For example, when I want to append the library to sys in the first line. Code formatting ( I use autopep8 ) forces the import of the library above sys.append, and I have an error.

Could I save file without autopep8 in some situations?

For example, :w for write with autopep8 and :wwp for write without autopep8