From 41801dc496a0c372e7eac91d68e6e46a0d56e337 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sat, 30 May 2020 11:30:21 +0200 Subject: [PATCH] Add pylintrc and black to vim --- dotfiles/pylintrc | 5 +++++ dotfiles/vim/vimrc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 dotfiles/pylintrc diff --git a/dotfiles/pylintrc b/dotfiles/pylintrc new file mode 100644 index 0000000..7abddd2 --- /dev/null +++ b/dotfiles/pylintrc @@ -0,0 +1,5 @@ +[MESSAGES CONTROL] +disable = C0330, C0326 + +[format] +max-line-length = 88 diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index 16d3d22..8548bb3 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -47,10 +47,11 @@ call vundle#begin() " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' -" AUTOCOMPLETION AND LINTING +" AUTOCOMPLETION, FORMATTING AND LINTING Plugin 'ycm-core/YouCompleteMe' " Main autocompletion Plugin 'nvie/vim-flake8' " PEP8 linting for Python Plugin 'dense-analysis/ale' " Vim integration for various linters +Plugin 'psf/black' " Black autoformatter for Python " HIGHLIGHTING Plugin 'ntpeters/vim-better-whitespace' " Whitespace highlighting and removal