diff options
author | Karel Kočí <cynerd@email.cz> | 2022-11-15 15:56:57 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-11-15 15:56:57 +0100 |
commit | 43d8312f5cf165f8574b489c68dc32c8cd296745 (patch) | |
tree | 2ea64b9ade3d33cd3bc1a2b307588be280189171 | |
parent | 9b81c54bf827d60427560585aae31d68db6fc746 (diff) | |
download | myconfigs-43d8312f5cf165f8574b489c68dc32c8cd296745.tar.gz myconfigs-43d8312f5cf165f8574b489c68dc32c8cd296745.tar.bz2 myconfigs-43d8312f5cf165f8574b489c68dc32c8cd296745.zip |
python: go for PEP 8 number of columns
-rw-r--r-- | flake8 | 2 | ||||
-rw-r--r-- | vim/ftplugin/python.vim | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -1,2 +1,2 @@ [flake8] -max-line-length = 120 +max-line-length = 80 diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index 1eda902..6e9145a 100644 --- a/vim/ftplugin/python.vim +++ b/vim/ftplugin/python.vim @@ -1,6 +1,5 @@ -setlocal colorcolumn=120 -setlocal textwidth=120 +setlocal colorcolumn=80 +setlocal textwidth=80 let b:ale_linters = ['pylsp', 'pylint', 'mypy', 'pydocstyle'] let b:ale_fixers = ['isort', 'black', 'remove_trailing_lines', 'trim_whitespace'] -let g:ale_python_black_options = '-l 120' |