aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake82
-rw-r--r--vim/ftplugin/python.vim5
2 files changed, 3 insertions, 4 deletions
diff --git a/flake8 b/flake8
index 6deafc2..15fc7e3 100644
--- a/flake8
+++ b/flake8
@@ -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'