aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile7
-rw-r--r--isort.cfg2
2 files changed, 7 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 13f1307..68a7b12 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -53,8 +53,11 @@ ADD PEARish.xml /root/PEARish.xml
# Install python linting and neovim plugin
RUN python -m ensurepip
-RUN pip install neovim jedi flake8 flake8-docstrings flake8-import-order flake8-quotes pep8 pep8-naming pep257 isort
-RUN pip3 install neovim jedi flake8 flake8-docstrings flake8-import-order flake8-quotes pep8 pep8-naming pep257 isort
+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
# Install nodejs linting
# Install JS linting modules
diff --git a/isort.cfg b/isort.cfg
new file mode 100644
index 0000000..3874f75
--- /dev/null
+++ b/isort.cfg
@@ -0,0 +1,2 @@
+[settings]
+not_skip=__init__.py