u/pvalue006in r/vim • Recommends
Linters and fixers: never worry about code formatting again (Vim + Ale + Flake8 & Black for Python)
1.3K subscribers • 2 videos on Hallway
Intermediate. Assumes working knowledge.
36K views6 years ago1 recommendation
Tools and practiceProgramming languagesVim, Emacs and editorsPythonTesting
YY Ahn explains how to configure Vim with ALE, Flake8, and Black for automated Python linting and formatting.
# Python linters Flake8: flake8.pycqa.org/en/latest/ pydocstyle: pypi.org/project/pydocstyle/ bandit: github.com/PyCQA/bandit mypy: mypy-lang.org/ Pylint: pylint.org/ # Python fixers Black: black.readthedocs.io/en/latest/ Łukasz Langa - Life Is Better Painted Black, or: How to Stop Worrying and Embrace Auto-Formatting: youtu.be/esZLCuWs_2Y Black: editor integration: black.readthedocs.io/en/stable/editor\_integration.html Yapf: github.com/google/yapf autopep8: github.com/hhatto/autopep8 isort: github.com/timothycrosley/isort # Setting up (Neo)Vim Vim-plug: github.com/junegunn/vim-plug Ale (Asynchronous Lint Engine): github.com/dense-analysis/aleWhat people say. Recommended as a clear guide for setting up Python linting and formatting in Vim.
u/pvalue006in r/vim • Recommends