aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-03-17 14:46:28 -0600
committerCody Hiar <codyfh@gmail.com>2017-03-17 14:46:28 -0600
commit9ccdbedbd0bb349763a582db018e8be335182a2d (patch)
tree3fae2dc65f66bd03c3b2ba304882999379467117
parentf525ddfa7b049df3afd3ba26aa930af8d9ec80aa (diff)
Adding long line highlighting
-rw-r--r--Dockerfile4
-rw-r--r--flake85
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