From 9ccdbedbd0bb349763a582db018e8be335182a2d Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 17 Mar 2017 14:46:28 -0600 Subject: Adding long line highlighting --- Dockerfile | 4 ++-- flake8 | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0cab88f..655c7f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,8 +60,6 @@ ADD PEARish.xml /root/PEARish.xml RUN python -m ensurepip RUN pip install neovim jedi flake8 flake8-docstrings flake8-isort flake8-quotes pep8-naming pep257 isort RUN pip3 install neovim jedi flake8 flake8-docstrings flake8-isort flake8-quotes pep8-naming pep257 isort -# Add flake8 config -ADD flake8 /root/.flake8 ######################################## # Shellcheck @@ -108,6 +106,8 @@ ADD nvim /root/.config/nvim # Install neovim Modules RUN nvim +PlugInstall +qall RUN nvim +UpdateRemotePlugins +qall +# Add flake8 config, don't trigger a long build process +ADD flake8 /root/.flake8 # Add local vim-options, can override the one inside ADD vim-options /root/.config/nvim/plugged/vim-options # Add isort config, also changes often diff --git a/flake8 b/flake8 index da3e6f8..c26b1a7 100644 --- a/flake8 +++ b/flake8 @@ -3,4 +3,7 @@ exclude = migrations, __init__.py, settings, - +# I absolutely do not endorse 120 line length however many legacy projects have long lines +# so I use vim highlighting to higlight the 80 limit and have linting only complain +# about really long lengths +max-line-length = 119 -- cgit v1.2.3