Skip to content
0:00 / 0:00

#vim#python#ale

Linters and fixers: never worry about code formatting again (Vim + Ale + Flake8 & Black for Python)

YY Ahn

1.3K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by YY Ahn
  • Linked in the descriptionPyCQA/banditgoogle/yapfhhatto/autopep8
  • May be out of date. The tools, versions or practices it shows have likely moved on.

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/ale

Why it's here

1 person recommends this

What people say. Recommended as a clear guide for setting up Python linting and formatting in Vim.

u/pvalue006in r/vim • Recommends

Linters and fixers: never worry about code formatting again (Vim + Ale + Flake8 & Black for Python)