From 281ea368b258b4f3466219f2a3d98dbffe5c40ef Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sun, 19 Feb 2017 17:37:49 -0700 Subject: Adding updates to isort, 2 new packages for neovim --- Dockerfile | 6 ++++-- isort.cfg | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7303d97..d517454 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,8 @@ RUN apk add --no-cache \ python3-dev \ nodejs \ neovim \ + neovim-doc \ + ctags \ # Needed for python pip installs musl-dev \ gcc \ @@ -57,8 +59,6 @@ ADD PEARish.xml /root/PEARish.xml RUN python -m ensurepip RUN pip install neovim jedi flake8 flake8-docstrings flake8-isort flake8-quotes pep8 pep8-naming pep257 isort RUN pip3 install neovim jedi flake8 flake8-docstrings flake8-isort flake8-quotes pep8 pep8-naming pep257 isort -# Add isort config -ADD isort.cfg /root/.isort.cfg # Add flake8 config ADD flake8 /root/.flake8 @@ -90,3 +90,5 @@ ADD nvim /root/.config/nvim # Install neovim Modules RUN nvim +PlugInstall +qall RUN nvim +UpdateRemotePlugins +qall +# Add isort config, also changes often +ADD isort.cfg /root/.isort.cfg diff --git a/isort.cfg b/isort.cfg index 01ca055..a513871 100644 --- a/isort.cfg +++ b/isort.cfg @@ -6,3 +6,5 @@ known_django=django sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER skip=migrations include_trailing_comma=True +# Because neovim runs in separate container, explicitly calling out third parties is needed +known_third_party=pdfcrowd,PyPDF2,pytest,mock,model_mommy -- cgit v1.2.3