Code formatter and lint tool is so useful to keep quality of your Python code.
- yapf : A formatter for Python files
- pyflakes : A simple program which checks Python source files for errors
In this article, I would like to share how to use the tools.
π Installation
pip install yapf pyflakes |
π‘ Configuration
Add scripts/lint.sh
:
|
π Execution
Execute the following command in CI tool:
scripts/lint.sh |
π₯ Recommended VPS Service
VULTR provides high performance cloud compute environment for you.
Vultr has 15 data-centers strategically placed around the globe, you can use a VPS with 512 MB memory for just $ 2.5 / month ($ 0.004 / hour).
In addition, Vultr is up to 4 times faster than the competition, so please check it => Check Benchmark Results!!