In the case of Visual Studio Code, it will just work. No setup needed as the
setup.cfg has the rules to use. I believe Emac or Vim ( however you start a
format command) should work as well as all that is needed is to run autopep8
under the directory with the setup.cfg in it.
Jason
On Monday, J
http://editorconfig.org/
Visual Studio and IntelliJ support this directly, and other editors including
VS Code, Vim, and Emacs support it with plugins.
Maybe we could standardize on editorconfig and let the plugins do the work?
--
Derek
On Friday, June 16, 2017, 9:18:34 AM CDT, Jason Kenny
If you are using Visual Studio Code. It should just find the setup.cfg file
that controls the formatting.
Jason
On Thursday, June 15, 2017, 6:21:07 PM CDT, Masaori Koshiba
wrote:
Hi trafficserver-dev,
Now, all python code of ATS are formatted by autopep8 after some
discussions on some PRs (#2
Hi trafficserver-dev,
Now, all python code of ATS are formatted by autopep8 after some
discussions on some PRs (#2097 and #2121).
So, please run autopep8 before sending PRs include python code.
Especially when you're adding tests using autest.
Steps are below.
1. Install autopep8
In most cases,