diff options
-rw-r--r-- | flake8 | 2 | ||||
-rwxr-xr-x | install | 2 | ||||
-rw-r--r-- | pylintrc | 3 | ||||
-rw-r--r-- | vim/ftplugin/python.vim | 4 |
4 files changed, 9 insertions, 2 deletions
@@ -0,0 +1,2 @@ +[flake8] +max-line-length = 120 @@ -53,6 +53,8 @@ fi if ask "dev" "Development tools configuration"; then inst config/pycodestyle ~/.config/pycodestyle + inst flake8 ~/.flake8 + inst pylintrc ~/.pylintrc fi if ask "email-sync" "Install email synchronization"; then diff --git a/pylintrc b/pylintrc new file mode 100644 index 0000000..72dd61d --- /dev/null +++ b/pylintrc @@ -0,0 +1,3 @@ +[FORMAT] +# Maximum number of characters on a single line. +max-line-length=120 diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index bc7ff7b..5e07f53 100644 --- a/vim/ftplugin/python.vim +++ b/vim/ftplugin/python.vim @@ -1,5 +1,5 @@ -setlocal colorcolumn=79 -setlocal textwidth=79 +setlocal colorcolumn=120 +setlocal textwidth=120 let b:ale_linters = ['pyls'] let b:ale_fixers = ['autopep8', 'isort', 'black', 'add_blank_lines_for_python_control_statements', 'remove_trailing_lines', 'trim_whitespace'] |