diff options
-rw-r--r-- | Dockerfile | 6 | ||||
-rw-r--r-- | isort.cfg | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -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 @@ -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 |